clean_term_cache


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

Parameters:
  • (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:

Description

Will remove all of the term ids from the cache.

Related Functions

clean_user_cache, clean_category_cache, clean_object_term_cache, clean_post_cache, clean_page_cache

Top Google Results

User discussions

wpseek mobile