Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

WordPress hook directory
found_posts_query

Description

After the list of posts to display is queried from the database, WordPress selects rows in the query results. This filter allows you to do something other than SELECT FOUND_ROWS() at that step.

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 found_posts_query

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

Version File Line Type
2.1 wp-includes/query.php 988 View in context filter
2.2 wp-includes/query.php 1073 View in context filter
2.3 wp-includes/query.php 1279 View in context filter
2.5 wp-includes/query.php 1441 View in context filter
2.6 wp-includes/query.php 1464 View in context filter
2.7 wp-includes/query.php 2263 View in context filter
2.8 wp-includes/query.php 2274 View in context filter
2.9 wp-includes/query.php 2268 View in context filter
3.0 wp-includes/query.php 2435 View in context filter
3.1 wp-includes/query.php 2599 View in context filter
3.2 wp-includes/query.php 2643 View in context filter
3.3 wp-includes/query.php 2652 View in context filter
3.4 wp-includes/query.php 2782 View in context filter
3.5 wp-includes/query.php 2809 View in context filter
3.6 wp-includes/query.php 2826 View in context filter
3.7 wp-includes/query.php 3065 View in context filter
3.8 wp-includes/query.php 3080 View in context filter
3.9 wp-includes/query.php 3445 View in context filter
4.0 wp-includes/query.php 3635 View in context filter
4.1 wp-includes/query.php 3649 View in context filter
4.2 wp-includes/query.php 3677 View in context filter
4.3 wp-includes/query.php 3685 View in context filter
4.4 wp-includes/query.php 3826 View in context filter
4.5 wp-includes/query.php 3817 View in context filter
4.6 wp-includes/query.php 3861 View in context filter
4.7 wp-includes/class-wp-query.php 3049 View in context filter
4.8 wp-includes/class-wp-query.php 3059 View in context filter
4.9 wp-includes/class-wp-query.php 3033 View in context filter
5.0 wp-includes/class-wp-query.php 3033 View in context filter
5.1 wp-includes/class-wp-query.php 3188 View in context filter
5.2 wp-includes/class-wp-query.php 3205 View in context filter
5.3 wp-includes/class-wp-query.php 3213 View in context filter
5.4 wp-includes/class-wp-query.php 3236 View in context filter
5.5 wp-includes/class-wp-query.php 3243 View in context filter
5.6 wp-includes/class-wp-query.php 3243 View in context filter
5.7 wp-includes/class-wp-query.php 3258 View in context filter
5.8 wp-includes/class-wp-query.php 3258 View in context filter
5.9 wp-includes/class-wp-query.php 3335 View in context filter
6.0 wp-includes/class-wp-query.php 3379 View in context filter
6.1 wp-includes/class-wp-query.php 3514 View in context filter
6.2 wp-includes/class-wp-query.php 3567 View in context filter

Related Hooks

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