acf_delete_json_field_group()
Deletes a field group JSON file.
No Hooks.
Returns
true|false. True on success.
Usage
acf_delete_json_field_group( $key );
- $key(string) (required)
- The field group key.
Changelog
| Since 5.1.5 | Introduced. |
acf_delete_json_field_group() acf delete json field group code ACF 6.0.4
function acf_delete_json_field_group( $key ) {
return acf_get_instance( 'ACF_Local_JSON' )->delete_file( $key );
}