From v6.2, a new hook called acf/json/save_file_name
helps developer customize JSON file name explained here: https://www.advancedcustomfields.com/resources/local-json/#loading-explained
However I found that this hook didn’t work properly, it only applies to creating new JSON files, when I delete the field group, JSON file won’t be deleted.
As you can find in my attached screenshot, ACF delete_file
function still uses the field key to check and delete JSON files which is wrong.
Does anyone try this new hook and have the same issue?
Probably an oversight by the developers, you should contact them or open a ticket in your account. The developers do not monitor these forums and will not see this if you don’t contact them directly.
Thanks for the information. I’ve just submitted a request asking the developers to take a look.