Filter: um_radio_options_pair__{$key}

apply_filters( 'um_radio_options_pair__{$key}', $options_pair, $data ) → {bool}

Filters enable options pair by field $data.

Parameters:
Name Type Description
$options_pair bool

Enable pairs.

$data array

Field Data.

Since:
  • 2.0
Source:
Returns:

Enable pairs.

Type
bool
Example

Enable options pair.

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