um_radio_field_options
Hook type
Filter
Description
Extend radio field options
Parameters
$options
(array) Radio Field Options
$data
(array) Field Data
Usage
add_filter( 'um_radio_field_options', 'function_name', 10, 2 );
Examples
<?php add_filter( 'um_radio_field_options', 'my_radio_field_options', 10, 2 ); function my_radio_field_options( $options, $data ) { // your code here return $options; } ?>
Change Log
Since: 2.0
Source
um_radio_field_options
is located in includes/core/class-fields.php::line 2735