ACF_Local_JSON::delete_field_grouppublicACF 5.9.0

Deletes a field group JSON file.

Method of the class: ACF_Local_JSON{}

No Hooks.

Returns

true|false.

Usage

$ACF_Local_JSON = new ACF_Local_JSON();
$ACF_Local_JSON->delete_field_group( $field_group );
$field_group(array) (required)
The field group.

Changelog

Since 5.9.0 Introduced.

ACF_Local_JSON::delete_field_group() code ACF 6.8.8

public function delete_field_group( $field_group ) {
	return $this->delete_internal_post_type( $field_group );
}