clean_term_cache ( $ids, $taxonomy = '', $clean_taxonomy = true )

  • (int|array) $ids Single or list of Term IDs.
  • (string) $taxonomy Optional. Can be empty and will assume `tt_ids`, else will use for context. Default empty.
  • (bool) $clean_taxonomy Optional. Whether to clean taxonomy wide caches (true), or just individual term object caches (false). Default true.
Defined at:


Will remove all of the term ids from the cache.

Related Functions

clean_user_cache, clean_category_cache, clean_object_term_cache, wp_clean_themes_cache, clean_post_cache

Top Google Results

User discussions

wpseek mobile