wp_delete_object_term_relationships


wp_delete_object_term_relationships ( $object_id, $taxonomies )

Parameters:
  • (int) $object_id The term Object Id that refers to the term.
  • (string|array) $taxonomies List of Taxonomy Names or single Taxonomy name.
Defined at:

Description

Will unlink the object from the taxonomy or taxonomies.

Will remove all relationships between the object and any terms in a particular taxonomy or taxonomies. Does not remove the term or taxonomy itself.

Related Functions

wp_get_object_terms, wp_set_object_terms, update_object_term_cache, wp_add_object_terms, wp_remove_object_terms

Top Google Results

User discussions

wpseek mobile