parse_network_query action-hookWP 4.6.0

Fires after the network query vars have been parsed.

Usage

add_action( 'parse_network_query', 'wp_kama_parse_network_query_action' );

/**
 * Function for `parse_network_query` action-hook.
 * 
 * @param WP_Network_Query $query The WP_Network_Query instance (passed by reference).
 *
 * @return void
 */
function wp_kama_parse_network_query_action( $query ){

	// action...
}
$query(WP_Network_Query)
The WP_Network_Query instance (passed by reference).

Changelog

Since 4.6.0 Introduced.

Where the hook is called

WP_Network_Query::parse_query()
parse_network_query
wp-includes/class-wp-network-query.php 163
do_action_ref_array( 'parse_network_query', array( &$this ) );

Where the hook is used in WordPress

Usage not found.