apply_filters( 'um_radio_field_options_{$key}', $options ) → {array}
Filters radio field options by field $key.
Parameters:
Name | Type | Description |
---|---|---|
$options |
array | Radio Field Options. |
- Since:
- 1.3.x
- Source:
Returns:
Radio Field Options.
- Type
- array
Example
function my_radio_field_options( $options ) {
// your code here
return $options;
}
add_filter( 'um_radio_field_options_{$key}', 'my_radio_field_options', 10, 1 );