Archive | /wp-includes/query.php RSS feed for this section

is_main_query

Is the query the main query?

16629

Continue reading

get_queried_object_id

Retrieve ID of the current queried object. Wrapper for $wp_query->get_queried_object_id()

9629

Continue reading

get_queried_object

Retrieve the currently-queried object. Wrapper for $wp_query->get_queried_object()

9627

Continue reading

wp_reset_query

Destroy the previous query and set up a new query.This should be used after query_posts() and before another query_posts(). This will remove obscure bugs that occur when the previous wp_query object is not destroyed properly before another is set up.

4057

Continue reading