ms_sites_list_table_query_args

ms_sites_list_table_query_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('ms_sites_list_table_query_args') is found 1 times:

  • /wp-admin/includes/class-wp-ms-sites-list-table.php line 180
    		 * @since 4.6.0
    		 *
    		 * @param array $args An array of get_sites() arguments.
    		 */
    		$args = apply_filters( 'ms_sites_list_table_query_args', $args );
    
    		$_sites = get_sites( $args );
    		if ( is_array( $_sites ) ) {
    			update_site_cache( $_sites );
    
    			$this->items = array_slice( $_sites, 0, $per_page );