um_user_before_query

Hook type

Action

Description

Action before users query on member directory

Parameters

$query_args

(array) Query arguments

Usage

add_action( 'um_user_before_query', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_user_before_query', 'my_user_before_query', 10, 1 );
function my_user_before_query( $query_args ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_user_before_query is located in includes/core/class-members.php::line 363