do_action_ref_array( ‘parse_query’, WP_Query $query )

Fires after the main query vars have been parsed.

Parameters

$queryWP_Query
The WP_Query instance (passed by reference).

More Information

parse_query is an action triggered after WP_Query->parse_query() has set up query variables (such as the various is_ variables used for conditional tags).

Source

do_action_ref_array( 'parse_query', array( &$this ) );

Changelog

VersionDescription
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.