do_action_ref_array( ‘pre_get_users’, WP_User_Query $query )

In this article

Fires before the WP_User_Query has been parsed.

Description

The passed WP_User_Query object contains the query variables, not yet passed into SQL.

Parameters

$queryWP_User_Query
Current instance of WP_User_Query (passed by reference).

Source

do_action_ref_array( 'pre_get_users', array( &$this ) );

Changelog

VersionDescription
4.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.