wphooks.info - ms_sites_list_table_query_args

ms_sites_list_table_query_args

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-admin/includes/class-wp-ms-sites-list-table.php:
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
			$args['no_found_rows'] = false;
		}

		/**
		 * Filters the arguments for the site query in the sites list table.
		 *
		 * @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 );
		}

		$total_sites = get_sites(