um_multiselect_option_value

Hook type

Filter

Description

Change multiselect keyword data

Parameters

$keyword

(int) Option Value

$type

(string) Field Type

Usage

add_filter( 'um_multiselect_option_value', 'function_name', 10, 2 );

Examples

<?php
add_filter( 'um_multiselect_option_value', 'my_multiselect_option_value', 10, 2 );
function my_multiselect_option_value( $keyword, $type ) {
    // your code here
return $keyword;
}
?>

Change Log

Since: 2.0

Source

um_multiselect_option_value is located in includes/core/class-fields.php::line 2567