W3cubDocs

/WordPress

do_action( 'clean_term_cache', array $ids, string $taxonomy, bool $clean_taxonomy )

Fires once after each taxonomy’s term cache has been cleaned.

Parameters

$ids

(array) An array of term IDs.

$taxonomy

(string) Taxonomy slug.

$clean_taxonomy

(bool) Whether or not to clean taxonomy-wide caches

Source

File: wp-includes/taxonomy.php

View on Trac

Changelog

Version Description
4.5.0 Added the $clean_taxonomy parameter.
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/clean_term_cache