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:

Description

Removes term(s) associated with a given object.

Related Functions

wp_set_object_terms, wp_get_object_terms, wp_add_object_terms, wp_resolve_post_date, wp_set_post_terms

Top Google Results

User discussions

wpseek mobile