do_action( 'pre_get_users', WP_User_Query $this )

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

$this

The current WP_User_Query instance, passed by reference.


Source

File: wp-includes/class-wp-user-query.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.0.0 Introduced.