Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
parse_query

Description

Runs at the end of query parsing in the main query or any instance of WP_Query, such as query_posts, get_posts, or get_children. Action function arguments: WP_Query object by reference.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for parse_query

This database has information for all major versions from WP 1.2.1 through 6.2.

Version File Line Type
1.5.2 wp-includes/classes.php 204 View in context action
2.0 wp-includes/classes.php 86 View in context action
2.0 wp-includes/classes.php 238 View in context action
2.0.11 wp-includes/classes.php 87 View in context action
2.0.11 wp-includes/classes.php 244 View in context action
2.1 wp-includes/query.php 397 View in context action
2.1 wp-includes/query.php 545 View in context action
2.2 wp-includes/query.php 424 View in context action
2.2 wp-includes/query.php 616 View in context action
2.3 wp-includes/query.php 706 View in context action
2.5 wp-includes/query.php 784 View in context action
2.6 wp-includes/query.php 788 View in context action
2.7 wp-includes/query.php 1502 View in context action
2.8 wp-includes/query.php 1504 View in context action
2.9 wp-includes/query.php 1486 View in context action
3.0 wp-includes/query.php 1549 View in context action
3.1 wp-includes/query.php 1630 View in context action
3.2 wp-includes/query.php 1663 View in context action
3.3 wp-includes/query.php 1675 View in context action
3.4 wp-includes/query.php 1674 View in context action
3.5 wp-includes/query.php 1676 View in context action
3.6 wp-includes/query.php 1676 View in context action
3.7 wp-includes/query.php 1712 View in context action
3.8 wp-includes/query.php 1712 View in context action
3.9 wp-includes/query.php 1724 View in context action
4.0 wp-includes/query.php 1814 View in context action
4.1 wp-includes/query.php 1817 View in context action
4.2 wp-includes/query.php 1827 View in context action
4.3 wp-includes/query.php 1826 View in context action
4.4 wp-includes/query.php 1906 View in context action
4.5 wp-includes/query.php 1869 View in context action
4.6 wp-includes/query.php 1879 View in context action
4.7 wp-includes/class-wp-query.php 1053 View in context action
4.8 wp-includes/class-wp-query.php 1055 View in context action
4.9 wp-includes/class-wp-query.php 1006 View in context action
5.0 wp-includes/class-wp-query.php 1006 View in context action
5.1 wp-includes/class-wp-query.php 1050 View in context action
5.2 wp-includes/class-wp-query.php 1067 View in context action
5.3 wp-includes/class-wp-query.php 1069 View in context action
5.4 wp-includes/class-wp-query.php 1082 View in context action
5.5 wp-includes/class-wp-query.php 1080 View in context action
5.6 wp-includes/class-wp-query.php 1080 View in context action
5.7 wp-includes/class-wp-query.php 1083 View in context action
5.8 wp-includes/class-wp-query.php 1083 View in context action
5.9 wp-includes/class-wp-query.php 1103 View in context action
6.0 wp-includes/class-wp-query.php 1104 View in context action
6.1 wp-includes/class-wp-query.php 1127 View in context action
6.2 wp-includes/class-wp-query.php 1131 View in context action

Related Hooks

We find related hooks using word stems. parse_query has 2 significant word stem(s): parse, query. Note that some of the hooks below may not appear in all versions of WP.