Filter: um_checkbox_field_options

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

Filters checkbox options.

Parameters:
Name Type Description
$options array

Checkbox Options.

$data array

Field Data.

Since:
  • 1.3.x
Source:
Returns:

Checkbox Options.

Type
array
Example

Extend checkbox options.

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