Filter: um_field_checkbox_item_title

apply_filters( 'um_field_checkbox_item_title', $um_field_checkbox_item_title, $key, $v, $data ) → {string}

Filters change Checkbox item title.

Parameters:
Name Type Description
$um_field_checkbox_item_title string

Item Title.

$key string

Field Key.

$v string

Field Value.

$data array

Field Data.

Since:
  • 1.3.x
Source:
Returns:

Item Title.

Type
string
Example

Change Checkbox item title.

function um_checkbox_field_options( $um_field_checkbox_item_title, $key, $v, $data ) {
    // your code here
    return $um_field_checkbox_item_title;
}
add_filter( 'um_field_checkbox_item_title', 'um_checkbox_field_options', 10, 4 );