acf/pre_save_json_file
acf/pre_save_json_file
Appears in: advanced-custom-fields.6.3.5
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.3.5apply_filters('acf/pre_save_json_file') is found 1 times:
- /includes/local-json.php line 164160161162163164165166167168169170
* @since 6.1
*
* @param
array
$post
The main ACF post
array
*/
$post
= apply_filters(
'acf/pre_save_json_file'
,
$post
);
return
$this
->save_file(
$post
[
'key'
],
$post
);
}
/**
* Deletes a field group JSON file.