Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
query

Description

Applied to all queries (at least all queries run after plugins are loaded).

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 query

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

Version File Line Type
2.0.11 wp-includes/wp-db.php 147 View in context filter
2.1 wp-includes/wp-db.php 154 View in context filter
2.2 wp-includes/wp-db.php 166 View in context filter
2.3 wp-includes/wp-db.php 193 View in context filter
2.5 wp-includes/wp-db.php 259 View in context filter
2.6 wp-includes/wp-db.php 592 View in context filter
2.7 wp-includes/wp-db.php 592 View in context filter
2.8 wp-includes/wp-db.php 662 View in context filter
2.9 wp-includes/wp-db.php 690 View in context filter
3.0 wp-includes/wp-db.php 1073 View in context filter
3.1 wp-includes/wp-db.php 1084 View in context filter
3.2 wp-includes/wp-db.php 1060 View in context filter
3.3 wp-includes/wp-db.php 1077 View in context filter
3.4 wp-includes/wp-db.php 1081 View in context filter
3.5 wp-includes/wp-db.php 1181 View in context filter
3.6 wp-includes/wp-db.php 1185 View in context filter
3.7 wp-includes/wp-db.php 1191 View in context filter
3.8 wp-includes/wp-db.php 1199 View in context filter
3.9 wp-includes/wp-db.php 1512 View in context filter
4.0 wp-includes/wp-db.php 1549 View in context filter
4.1 wp-includes/wp-db.php 1557 View in context filter
4.2 wp-includes/wp-db.php 1622 View in context filter
4.3 wp-includes/wp-db.php 1630 View in context filter
4.4 wp-includes/wp-db.php 1691 View in context filter
4.5 wp-includes/wp-db.php 1685 View in context filter
4.6 wp-includes/wp-db.php 1722 View in context filter
4.7 wp-includes/wp-db.php 1741 View in context filter
4.8 wp-includes/wp-db.php 1741 View in context filter
4.9 wp-includes/wp-db.php 1789 View in context filter
5.0 wp-includes/wp-db.php 1789 View in context filter
5.1 wp-includes/wp-db.php 1871 View in context filter

Related Hooks

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