Filter: um_checkbox_field_options_{$key}

apply_filters( 'um_checkbox_field_options_{$key}', $options ) → {array}

Filters checkbox options by field $key.

Parameters:
Name Type Description
$options array

Checkbox Options.

Since:
  • 1.3.x
Source:
Returns:

Checkbox Options.

Type
array
Example

Extend checkbox options.

function my_checkbox_options( $options ) {
    // your code here
    return $options;
}
add_filter( 'um_checkbox_field_options_{$key}', 'my_checkbox_options', 10, 1 );