WP_Query
Methods
1 to 19 of 19
- WP_Query::generate_cache_key() – Generate cache key.
- WP_Query::get_queried_object() – Retrieves the currently queried object.
- WP_Query::get() – Retrieves the value of a query variable.
- WP_Query::have_posts() – Determines whether there are more posts available in the loop.
- WP_Query::is_attachment() – Is the query for an existing attachment page?
- WP_Query::is_author() – Is the query for an existing author archive page?
- WP_Query::is_category() – Is the query for an existing category archive page?
- WP_Query::is_page() – Is the query for an existing single page?
- WP_Query::is_post_type_archive() – Is the query for an existing post type archive page?
- WP_Query::is_single() – Is the query for an existing single post?
- WP_Query::is_singular() – Is the query for an existing single post of any post type (post, attachment, page, custom post types)?
- WP_Query::is_tag() – Is the query for an existing tag archive page?
- WP_Query::next_comment() – Iterate current comment index and return WP_Comment object.
- WP_Query::next_post() – Set up the next post and iterate current post index.
- WP_Query::parse_search() – Generates SQL for the WHERE clause based on passed search terms.
- WP_Query::set_404() – Sets the 404 property and saves whether query is feed.
- WP_Query::set_found_posts() – Set up the amount of found posts and the number of pages (if limit clause was used) for the current query.
- WP_Query::setup_postdata() – Set up global post data.
- WP_Query::the_post() – Sets up the current post.