WordPress at a glance
action is not described

clean_term_cache action-hook . WP 2.5.0

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


add_action( 'clean_term_cache', 'action_function_name_7758', 10, 3 );
function action_function_name_7758( $ids, $taxonomy, $clean_taxonomy ){
	// action...
An array of term IDs.
Taxonomy slug.
Whether or not to clean taxonomy-wide caches


  • Since 4.5.0 Added the $clean_taxonomy parameter.

Where the hook is called

wp-includes/taxonomy.php 3052
do_action( 'clean_term_cache', $ids, $taxonomy, $clean_taxonomy );

Where the hook is used (in WP core)

Does not used.