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