pre_user_query action-hook . WP 3.1.0
Fires after the WP_User_Query has been parsed, and before the query is executed.
The passed WP_User_Query object contains SQL parts formed from parsing the given query.
Usage
add_action( 'pre_user_query', 'action_function_name_5616' ); function action_function_name_5616( $this ){ // action... }
- $this(WP_User_Query)
- Current instance of WP_User_Query (passed by reference).
Changelog
Since 3.1.0 | Introduced. |
Where the hook is called
wp-includes/class-wp-user-query.php 580
do_action_ref_array( 'pre_user_query', array( &$this ) );