pre_user_query хук-событие . 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.
Использование
add_action( 'pre_user_query', 'action_function_name_7582' ); function action_function_name_7582( $this ){ // action... }
- $this(WP_User_Query)
- Current instance of WP_User_Query (passed by reference).
Список изменений
С версии 3.1.0 | Введена. |
Где вызывается хук
wp-includes/class-wp-user-query.php 580
do_action_ref_array( 'pre_user_query', array( &$this ) );