wp_remove_object_terms
wp_remove_object_terms ( $object_id, $terms, $taxonomy )
Parameters:- (int) object_id The ID of the object from which the terms will be removed.
- (string|int|array) terms The slug(s) or ID(s) of the term(s) to remove.
- (string) taxonomy Taxonomy name.
Returns:- (bool|WP_Error) True on success, false or WP_Error on failure.
Defined at: - Introduced in WordPress: 3.6.0
- Deprecated in WordPress: —
Description
Removes term(s) associated with a given object.