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

Unlinks 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