Action: um_user_after_query

do_action( 'um_user_after_query', $query_args, $user_query )

Fires just after the users query for getting users in member directory.

Parameters:
Name Type Description
$query_args array

Query arguments.

$user_query object

Query results.

Since:
  • 1.3.x
Source:
Example

Make some custom action after getting the users in member directory.

function my_user_after_query( $query_args, $user_query ) {
    // your code here
}
add_action( 'um_user_after_query', 'my_user_after_query', 10, 2 );