New and updated in 3.1.0
-
Parses various taxonomy related query vars.
-
functionget_queried_object()
Retrieves the currently queried object.
-
functionget_queried_object_id()
Retrieves the ID of the currently queried object.
-
functionis_post_type_archive()
Determines whether the query is for an existing post type archive page.
-
functionis_blog_admin()
Determines whether the current request is for a site’s administrative interface.
-
functionis_network_admin()
Determines whether the current request is for the network administrative interface.
-
functionis_user_admin()
Determines whether the current request is for a user admin screen.
-
functionget_current_blog_id()
Retrieves the current site ID.
-
functionwp_dequeue_script()
Removes a previously enqueued script.
-
functionwp_find_hierarchy_loop()
Finds hierarchy loops using a callback function that maps object IDs to parent IDs.
-
Uses the “The Tortoise and the Hare” algorithm to detect loops.
-
function_doing_it_wrong()
Marks something as being incorrectly called.
-
Fires when the given function is being used incorrectly.
-
Filters whether to trigger an error for _doing_it_wrong() calls.
-
functionwp_list_pluck()
Plucks a certain field out of each object or array in an array.
-
functionwp_array_slice_assoc()
Extracts a slice of an array, given a list of keys.
-
functionwp_list_filter()
Filters a list of objects, based on a set of key => value arguments.
-
hookget_ancestors
Filters a given object’s ancestors.
-
functionwp_get_term_taxonomy_parent_id()
Returns the term’s parent’s term ID.
-
Checks the given subset of the term hierarchy for hierarchy loops.
-
classWP_Tax_Query
Core class used to implement taxonomy queries for the Taxonomy API.
-
Constructor.
-
methodWP_Tax_Query::get_sql()
Generates SQL clauses to be appended to a main query.
-
functionget_ancestors()
Gets an array of ancestor IDs for a given object.
-
Filters the term parent.
-
hookget_terms_args
Filters the terms query arguments.
-
hookterms_clauses
Filters the terms query SQL clauses.
-
Filters the post formats rewrite base.
-
functionget_tax_sql()
Given a taxonomy query, generates SQL to be appended to a main query.