Fires after the main query vars have been parsed.
Parameters
Source
do_action_ref_array( 'parse_query', array( &$this ) );
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
| CARVIEW |
Fires after the main query vars have been parsed.
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).
do_action_ref_array( 'parse_query', array( &$this ) );
| Used by | Description |
|---|---|
WP_Query::parse_query()wp-includes/class-wp-query.php | Parses a query string and sets query type booleans. |
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
Example Migrated from Codex: