wphooks.info - parse_network_query

parse_network_query

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/class-wp-network-query.php:
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
		$this->query_vars = wp_parse_args( $query, $this->query_var_defaults );

		/**
		 * Fires after the network query vars have been parsed.
		 *
		 * @since 4.6.0
		 *
		 * @param WP_Network_Query $this The WP_Network_Query instance (passed by reference).
		 */
		do_action_ref_array( 'parse_network_query', array( &$this ) );
	}

	/**
	 * Sets up the WordPress query for retrieving networks.
	 *
	 * @since 4.6.0
	 *
	 * @param string|array $query Array or URL query string of parameters.
	 * @return array|int List of WP_Network objects, a list of network ids when 'fields' is set to 'ids',