um_select_dropdown_dynamic_options

Hook type

Filter

Description

Extend dropdown dynamic options

Parameters

$options

(array) Dynamic options

$data

(array) Field Data

Usage

add_filter( 'um_select_dropdown_dynamic_options', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_select_dropdown_dynamic_options', 'my_select_dropdown_dynamic_options', 10, 2 );
function my_select_dropdown_dynamic_options( $options, $data ) {
    // your code here
return $options;
}
?>

Change Log

Since: 2.0

Source

um_select_dropdown_dynamic_options is located in includes/core/class-fields.php::line 2435