WP_Query

The WordPress Query class.


8 related classes found for: WP_Query

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordsclass-wp-query-php, queri, query, wp-includes, wp-query
wp-parser-packageQuery, WordPress
wp-parser-source-filewp-includes/class-wp-query.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • class-wp-query-php
  • queri
  • query
  • Query
  • wp-includes
  • wp-includes/class-wp-query.php
  • wp-query

Top ↑

Description Description


Top ↑

Source Source

File: wp-includes/class-wp-query.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.5.0 Removed the $comments_popup property.
1.5.0 Introduced.

Top ↑

Methods Methods

  • __call — Make private/protected methods readable for backward compatibility.
  • __construct — Constructor.
  • __get — Make private properties readable for backward compatibility.
  • __isset — Make private properties checkable for backward compatibility.
  • fill_query_vars — Fills in the query variables, which do not exist within the parameter.
  • get — Retrieve query variable.
  • get_posts — Retrieve the posts based on query variables.
  • get_queried_object — Retrieve queried object.
  • get_queried_object_id — Retrieve ID of the current queried object.
  • get_search_stopwords — Retrieve stopwords used when parsing search terms.
  • have_comments — Whether there are more comments available.
  • have_posts — Determines whether there are more posts available in the loop.
  • init — Initiates object properties and sets default values.
  • init_query_flags — Resets query flags to false.
  • is_404 — Is the query a 404 (returns no results)?
  • is_archive — Is the query for an existing archive page?
  • is_attachment — Is the query for an existing attachment page?
  • is_author — Is the query for an existing author archive page?
  • is_category — Is the query for an existing category archive page?
  • is_comment_feed — Is the query for a comments feed?
  • is_comments_popup — Whether the current URL is within the comments popup window. — deprecated
  • is_date — Is the query for an existing date archive?
  • is_day — Is the query for an existing day archive?
  • is_embed — Is the query for an embedded post?
  • is_feed — Is the query for a feed?
  • is_front_page — Is the query for the front page of the site?
  • is_home — Is the query for the blog homepage?
  • is_main_query — Is the query the main query?
  • is_month — Is the query for an existing month archive?
  • is_page — Is the query for an existing single page?
  • is_paged — Is the query for paged result and not for the first page?
  • is_post_type_archive — Is the query for an existing post type archive page?
  • is_preview — Is the query for a post or page preview?
  • is_robots — Is the query for the robots file?
  • is_search — Is the query for a search?
  • is_single — Is the query for an existing single post?
  • is_singular — Is the query for an existing single post of any post type (post, attachment, page, custom post types)?
  • is_tag — Is the query for an existing tag archive page?
  • is_tax — Is the query for an existing custom taxonomy archive page?
  • is_time — Is the query for a specific time?
  • is_trackback — Is the query for a trackback endpoint call?
  • is_year — Is the query for an existing year archive?
  • lazyload_comment_meta — Lazyload comment meta for comments in the loop. — deprecated
  • lazyload_term_meta — Lazyload term meta for posts in the loop. — deprecated
  • next_comment — Iterate current comment index and return WP_Comment object.
  • next_post — Set up the next post and iterate current post index.
  • parse_order — Parse an 'order' query variable and cast it to ASC or DESC as necessary.
  • parse_orderby — If the passed orderby value is allowed, convert the alias to a properly-prefixed orderby value.
  • parse_query — Parse a query string and set query type booleans.
  • parse_query_vars — Reparse the query vars.
  • parse_search — Generate SQL for the WHERE clause based on passed search terms.
  • parse_search_order — Generate SQL for the ORDER BY condition based on passed search terms.
  • parse_search_terms — Check if the terms are suitable for searching.
  • parse_tax_query — Parses various taxonomy related query vars.
  • query — Sets up the WordPress query by parsing query string.
  • reset_postdata — After looping through a nested query, this function restores the $post global to the current post in this query.
  • rewind_comments — Rewind the comments, resets the comment index and comment to first.
  • rewind_posts — Rewind the posts and reset post index.
  • set — Set query variable.
  • set_404 — Sets the 404 property and saves whether query is feed.
  • set_found_posts — Set up the amount of found posts and the number of pages (if limit clause was used) for the current query.
  • setup_postdata — Set up global post data.
  • the_comment — Sets up the current comment.
  • the_post — Sets up the current post.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.