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

In this article

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

Parameters

$idsarray
An array of term IDs.
$taxonomystring
Taxonomy slug.
$clean_taxonomybool
Whether or not to clean taxonomy-wide caches

Source

do_action( 'clean_term_cache', $ids, $taxonomy, $clean_taxonomy );

Changelog

VersionDescription
4.5.0Added the $clean_taxonomy parameter.
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.