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: - Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Description
Removes all of the term IDs from the cache.