Filter: um_radio_field_options

apply_filters( 'um_radio_field_options', $options, $data ) → {array}

Filters radio field options.

Parameters:
Name Type Description
$options array

Radio Field Options.

$data array

Field Data.

Since:
  • 1.3.x
Source:
Returns:

Radio Field Options.

Type
array
Example

Extend radio field options.

function my_radio_field_options( $options, $data ) {
    // your code here
    return $options;
}
add_filter( 'um_radio_field_options', 'my_radio_field_options', 10, 2 );