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: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
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.