do_action_ref_array( 'pre_user_query', WP_User_Query $this )

Fires after the WP_User_Query has been parsed, and before the query is executed.


Description

The passed WP_User_Query object contains SQL parts formed from parsing the given query.


Parameters

$this

(WP_User_Query) 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-3.1.0 Introduced.