clean_term_cache


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

Parameters:
  • (int|int[]) ids Single or array of term IDs.
  • (string) taxonomy Optional. Taxonomy slug. Can be empty, in which case the taxonomies of the passed term IDs will be used. 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

Removes 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