Fires before the WP_User_Query has been parsed.
The passed WP_User_Query object contains the query variables, not yet passed into SQL.
$queryWP_User_Query
do_action_ref_array( 'pre_get_users', array( &$this ) );
| Version | Description |
|---|---|
| 4.0.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_get_users