File: wp-includes/taxonomy.php
-
function_get_term_children()
Gets the subset of $terms that are descendants of $term_id.
-
functionis_object_in_term()
Determines if the given object is associated with any of the given terms.
-
function_pad_term_counts()
Adds count of children to parent count.
-
functionis_object_in_taxonomy()
Determines if the given object type is associated with the given taxonomy.
-
functionwp_update_term()
Updates term based on arguments provided.
-
functionclean_object_term_cache()
Removes the taxonomy relationship to terms from the cache.
-
Filters the term parent.
-
Fires after the object term cache has been cleaned.
-
Fires immediate before a term-taxonomy relationship is updated.
-
functionclean_term_cache()
Removes all of the term IDs from the cache.
-
Fires immediately after a term-taxonomy relationship is updated.
-
hookedit_term
Fires after a term has been updated, but before the term cache has been cleaned.
-
hookedit_{$taxonomy}
Fires after a term in a specific taxonomy has been updated, but before the term cache has been cleaned.
-
hookedited_term
Fires after a term has been updated, and the term cache has been cleaned.
-
Fires after a term for a specific taxonomy has been updated, and the term cache has been cleaned.
-
Fires immediately before an object-term relationship is deleted.
-
functionwp_defer_term_counting()
Enables or disables term counting.
-
Fires immediately after an object-term relationship is deleted.
-
functionwp_update_term_count()
Updates the amount of terms in taxonomy.
-
functionwp_unique_term_slug()
Makes term slug unique, if it isn’t already.
-
functionwp_update_term_count_now()
Performs term count update immediately.
-
hookcreated_term
Fires after a new term is created, and after the term cache has been cleaned.
-
Fires after a new term in a specific taxonomy is created, and after the term cache has been cleaned.
-
functionwp_set_object_terms()
Creates term and taxonomy relationships.
-
Fires immediately before an object-term relationship is added.
-
functionwp_get_object_terms()
Retrieves the terms associated with the given object(s), in the supplied taxonomies.
-
Fires immediately after an object-term relationship is added.
-
Filters the terms for a given object or objects.
-
hookset_object_terms
Fires after an object’s terms have been set.
-
functionwp_insert_term()
Adds a new term to the database.