um_is_selected_filter_key

Hook type

Filter

Description

Change is selected filter key

Parameters

$key

(string) Selected filter key

Usage

add_filter( 'um_is_selected_filter_key', 'function_name', 10, 1 );

Examples

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

Change Log

Since: 2.0

Source

um_is_selected_filter_key is located in includes/core/class-fields.php::line 770