do_action_ref_array( 'pre_user_query', WP_User_Query $query )
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
-
$query
WP_User_Query -
Current instance of WP_User_Query (passed by reference).
Source
File: wp-includes/class-wp-user-query.php
.
View all references
do_action_ref_array( 'pre_user_query', array( &$this ) );
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
Find user by usermeta add change the meta key or add more meta keys
OR meta_key='key_name'
between () on WHERE line