users_list_table_query_args

users_list_table_query_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('users_list_table_query_args') is found 2 times:

  • /wp-admin/includes/class-wp-ms-users-list-table.php line 93
    			$args['order'] = $_REQUEST['order'];
    		}
    
    		/** This filter is documented in wp-admin/includes/class-wp-users-list-table.php */
    		$args = apply_filters( 'users_list_table_query_args', $args );
    
    		// Query the user IDs for this page.
    		$wp_user_search = new WP_User_Query( $args );
    
    		$this->items = $wp_user_search->get_results();
    
    
  • /wp-admin/includes/class-wp-users-list-table.php line 137
    		 *
    		 * @param array $args Arguments passed to WP_User_Query to retrieve items for the current
    		 *                    users list table.
    		 */
    		$args = apply_filters( 'users_list_table_query_args', $args );
    
    		// Query the user IDs for this page.
    		$wp_user_search = new WP_User_Query( $args );
    
    		$this->items = $wp_user_search->get_results();
    
    

See this hook used in plugins: