Filter: um_select_dropdown_dynamic_options_{$key}

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

Filters dropdown dynamic options by field $key.

Parameters:
Name Type Description
$options array

Dynamic options.

Since:
  • 1.3.x
Source:
Returns:

Dynamic options.

Type
array
Example

Extend dropdown dynamic options by field $key.

function my_select_dropdown_dynamic_options( $options ) {
    // your code here
    return $options;
}
add_filter( 'um_select_dropdown_dynamic_options_{$key}', 'my_select_dropdown_dynamic_options', 10, 1 );