clean_taxonomy_cache action-hookWP 4.9.0

Fires after a taxonomy's caches have been cleaned.

Usage

add_action( 'clean_taxonomy_cache', 'wp_kama_clean_taxonomy_cache_action' );

/**
 * Function for `clean_taxonomy_cache` action-hook.
 * 
 * @param string $taxonomy Taxonomy slug.
 *
 * @return void
 */
function wp_kama_clean_taxonomy_cache_action( $taxonomy ){

	// action...
}
$taxonomy(string)
Taxonomy slug.

Changelog

Since 4.9.0 Introduced.

Where the hook is called

clean_taxonomy_cache()
clean_taxonomy_cache
wp-includes/taxonomy.php 3727
do_action( 'clean_taxonomy_cache', $taxonomy );

Where the hook is used in WordPress

Usage not found.