um_query_args_filter

Hook type

Filter

Description

Change query for search at Members Directory

Parameters

$query_args

(array) Query Arguments

Usage

<?php add_filter( 'um_query_args_filter', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_query_args_filter', 'my_query_args_filter', 10, 1 );
function my_query_args_filter( $query_args ) {
    // your code here
return $query_args;
}
?>

Change Log

Since: 2.0

Source

um_query_args_filter is located in includes/core/um-filters-members.php::line 208