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