um_is_selected_filter_value

Hook type

Filter

Description

Change is selected filter value

Parameters

$value

(string) Selected filter value

$key

(string) Selected filter key

Usage

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

Examples

<?php
add_filter( 'um_is_selected_filter_value', 'my_selected_filter_value', 10, 2 );
function my_selected_filter_value( $value, $key ) {
    // your code here
return $field_value;
}
?>

Change Log

Since: 2.0

Source

um_is_selected_filter_value is located in includes/core/class-fields.php::line 821