File: wp-includes/query.php
-
functionis_favicon()
Is the query for the favicon.ico file?
-
functiongenerate_postdata()
Generates post data.
-
functionis_privacy_policy()
Determines whether the query is for the Privacy Policy page.
-
Filters the old slug redirect post ID.
-
function_find_post_by_old_slug()
Find the post ID for redirecting an old slug.
-
function_find_post_by_old_date()
Find the post ID for redirecting an old date.
-
Filters the old slug redirect URL.
-
functionis_embed()
Is the query for an embedded post?
-
functionis_main_query()
Determines whether the query is the main query.
-
functionhave_posts()
Determines whether current WordPress query has posts to loop over.
-
functionis_preview()
Determines whether the query is for a post or page preview.
-
functionin_the_loop()
Determines whether the caller is in the Loop.
-
functionis_robots()
Is the query for the robots.txt file?
-
functionrewind_posts()
Rewind the loop posts.
-
functionis_search()
Determines whether the query is for a search.
-
functionthe_post()
Iterate the post index in the loop.
-
functionis_single()
Determines whether the query is for an existing single post.
-
functionhave_comments()
Determines whether current WordPress query has comments to loop over.
-
functionis_singular()
Determines whether the query is for an existing single post of any post type (post, attachment, page, custom post types).
-
functionthe_comment()
Iterate comment index in the comment loop.
-
functionis_time()
Determines whether the query is for a specific time.
-
functionwp_old_slug_redirect()
Redirect old slugs to the correct permalink.
-
functionis_trackback()
Determines whether the query is for a trackback endpoint call.
-
functionsetup_postdata()
Set up global post data.
-
functionis_year()
Determines whether the query is for an existing year archive.
-
functionis_404()
Determines whether the query has resulted in a 404 (returns no results).
-
functionis_page()
Determines whether the query is for an existing single page.
-
functionis_category()
Determines whether the query is for an existing category archive page.
-
functionis_paged()
Determines whether the query is for a paged result and not for the first page.
-
functionis_tag()
Determines whether the query is for an existing tag archive page.