Filter: um_multiselect_options_{$key}

apply_filters( 'um_multiselect_options_{$key}', $options ) → {array}

Filters multiselect options by field $key.

Parameters:
Name Type Description
$options array

Multiselect Options.

Since:
  • 1.3.x
Source:
Returns:

$options Multiselect Options.

Type
array
Example

Extend multiselect options.

function my_multiselect_options( $options ) {
    // your code here
    return $options;
}
add_filter( 'um_multiselect_options_{$key}', 'my_multiselect_options', 10, 2 );