File: wp-includes/class-wp-query.php
-
hookthe_preview
Filters the single post for preview mode.
-
hookthe_posts
Filters the array of retrieved posts after they’ve been fetched and internally processed.
-
Sets up the amount of found posts and the number of pages (if limit clause was used) for the current query.
-
Filters the query to run for retrieving the found posts.
-
hookfound_posts
Filters the number of found posts for the query.
-
methodWP_Query::next_post()
Sets up the next post and iterate current post index.
-
methodWP_Query::the_post()
Sets up the current post.
-
hookloop_start
Fires once the loop is started.
-
methodWP_Query::have_posts()
Determines whether there are more posts available in the loop.
-
Filters the SELECT clause of the query.
-
Filters the LIMIT clause of the query.
-
Filters all query clauses at once, for convenience.
-
hookposts_request
Filters the completed SQL query before sending.
-
hookposts_join_paged
Filters the JOIN clause of the query.
-
hooksplit_the_query
Filters whether to split the query.
-
hookposts_orderby
Filters the ORDER BY clause of the query.
-
Filters the Post IDs SQL request before sending.
-
hookposts_distinct
Filters the DISTINCT clause of the query.
-
hookpost_limits
Filters the LIMIT clause of the query.
-
hookposts_fields
Filters the SELECT clause of the query.
-
hookposts_clauses
Filters all query clauses at once, for convenience.
-
hookposts_selection
Fires to announce the query’s current selection parameters.
-
Filters the WHERE clause of the query.
-
Filters the GROUP BY clause of the query.
-
Filters the JOIN clause of the query.
-
Filters the ORDER BY clause of the query.
-
Filters the DISTINCT clause of the query.
-
Filters the ORDER BY clause of the comments feed query before sending.
-
Filters the LIMIT clause of the comments feed query before sending.
-
Filters the WHERE clause of the query.