File: wp-includes/taxonomy.php
-
functionwp_add_object_terms()
Adds term(s) associated with a given object.
-
hookpre_insert_term
Filters a term before it is sanitized and inserted into the database.
-
functionwp_remove_object_terms()
Removes term(s) associated with a given object.
-
hookcreate_term
Fires immediately after a new term is created, before the term cache is cleaned.
-
Fires after a new term is created for a specific taxonomy.
-
hookterm_id_filter
Filters the term ID after a new term is created.
-
Filters the term field for use in RSS.
-
hookdelete_term
Fires after a term is deleted from the database and the cache is cleaned.
-
Filters the taxonomy field for use in RSS.
-
Fires after a term in a specific taxonomy is deleted.
-
hookterm_{$field}
Filters the term field sanitized for display.
-
functionwp_delete_category()
Deletes one existing category.
-
Filters the taxonomy field sanitized for display.
-
functionwp_count_terms()
Counts how many terms are in taxonomy.
-
Unlinks the object from the taxonomy or taxonomies.
-
functionwp_delete_term()
Removes a term from the database.
-
Filters the taxonomy field to edit before it is sanitized.
-
Fires immediately before a term to delete’s children are reassigned a parent.
-
Filters a term field value before it is sanitized.
-
Fires immediately after a term to delete’s children are reassigned a parent.
-
Filters a taxonomy field before it is sanitized.
-
Fires immediately before a term taxonomy ID is deleted.
-
Filters the category nicename before it is sanitized.
-
Fires immediately after a term taxonomy ID is deleted.
-
functionget_terms()
Retrieves the terms in a given taxonomy or list of taxonomies.
-
hookget_terms
Filters the found terms.
-
functionterm_exists()
Determines whether a taxonomy term exists.
-
functionterm_is_ancestor_of()
Checks if a term is an ancestor of another term.
-
functionsanitize_term()
Sanitizes all term fields.
-
hookget_term
Filters a taxonomy term object.