um_user_after_query

Hook type

Action

Description

Action before users query on member directory

Parameters

$query_args

(array) Query arguments

$users

(array) Users

Usage

add_action( 'um_user_after_query', 'function_name', 10, 2 );

Examples

<?php
add_action( 'um_user_after_query', 'my_user_after_query', 10, 2 );
function my_user_after_query( $query_args, $users ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_user_after_query is located in includes/core/class-members.php::line 387