acf_flush_taxonomy_cache()ACF 6.1

Deletes all caches for the provided ACF taxonomy.

No Hooks.

Returns

null. Nothing (null).

Usage

acf_flush_taxonomy_cache( $taxonomy );
$taxonomy(array) (required)
The ACF taxonomy array.

Changelog

Since 6.1 Introduced.

acf_flush_taxonomy_cache() code ACF 6.8.8

function acf_flush_taxonomy_cache( array $taxonomy ) {
	acf_flush_internal_post_type_cache( $taxonomy, 'acf-taxonomy' );
}