acf_flush_field_group_cache()ACF 5.7.10

acf_flush_field_group_cache

Deletes all caches for this field group.

No Hooks.

Returns

void. Nothing (null).

Usage

acf_flush_field_group_cache( $field_group );
$field_group(array) (required)
The field group array.

Changelog

Since 5.7.10 Introduced.

acf_flush_field_group_cache() code ACF 6.8.8

function acf_flush_field_group_cache( $field_group ) {
	acf_flush_internal_post_type_cache( $field_group, 'acf-field-group' );
}