clean_object_term_cache


clean_object_term_cache ( $object_ids, $object_type )

Parameters:
  • (int|array) object_ids Single or list of term object ID(s).
  • (array|string) object_type The taxonomy object type.
See:
Defined at:

Description

Removes the taxonomy relationship to terms from the cache.Will remove the entire taxonomy relationship containing term `$object_id`. The term IDs have to exist within the taxonomy `$object_type` for the deletion to take place.

Related Functions

get_object_term_cache, clean_term_cache, update_object_term_cache, clean_category_cache, clean_user_cache

Top Google Results

User discussions

wpseek mobile