um_is_selected_filter_data

Hook type

Filter

Description

Change is selected filter data

Parameters

$data

(array) Selected filter value

$key

(string) Selected filter key

$value

(string) Selected filter value

Usage

add_filter( 'um_is_selected_filter_data', 'function_name', 10, 3 );

Examples

<?php
add_filter( 'um_is_selected_filter_data', 'my_selected_filter_data', 10, 3 );
function my_selected_filter_data( $data, $key, $value ) {
    // your code here
return $data;
}
?>

Change Log

Since: 2.0

Source

um_is_selected_filter_data is located in includes/core/class-fields.php::line 844