um_checkbox_field_options_{$key}

Hook type

Filter

Description

Extend checkbox options by field $key

Parameters

$options

(array) Checkbox Options

Usage

add_filter( 'um_checkbox_field_options_{$key}', 'function_name', 10, 1 );

Examples

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

Change Log

Since: 2.0

Source

um_checkbox_field_options_{$key} is located in includes/core/class-fields.php::line 2892