WordPress at a glance
function is not described

clean_taxonomy_cache() WP 4.9.0

Clean the caches for a taxonomy.

Hooks in function
Return

Nothing (null).

Usage

clean_taxonomy_cache( $taxonomy );
$taxonomy(string) (required)
Taxonomy slug.

Code of clean taxonomy cache: wp-includes/taxonomy.php WP 5.2.1

<?php
function clean_taxonomy_cache( $taxonomy ) {
	wp_cache_delete( 'all_ids', $taxonomy );
	wp_cache_delete( 'get', $taxonomy );

	// Regenerate cached hierarchy.
	delete_option( "{$taxonomy}_children" );
	_get_term_hierarchy( $taxonomy );

	/**
	 * Fires after a taxonomy's caches have been cleaned.
	 *
	 * @since 4.9.0
	 *
	 * @param string $taxonomy Taxonomy slug.
	 */
	do_action( 'clean_taxonomy_cache', $taxonomy );
}