um_prepare_user_query_args
Hook type
Filter
Description
Extend member directory query arguments
Parameters
$query_args
(array) Members Query Arguments
$directory_settings
(array) Member Directory Settings
Usage
<?php add_filter( 'um_prepare_user_query_args', 'function_name', 10, 2 ); ?>
Examples
<?php add_filter( 'um_prepare_user_query_args', 'my_prepare_user_query_args', 10, 2 ); function my_prepare_user_query_args( $query_args, $directory_settings ) { // your code here return $query_args; } ?>
Change Log
Since: 2.0
Source
um_prepare_user_query_args
is located in includes/core/class-members.php::line 315