ACF-PHP-Recovery
ACF-PHP-Recovery copied to clipboard
Not working with ACF 5.7.12 onwards – "acf_local" function removed
Great plugin!
It doesn't seem to be working with ACF 5.7.12 onwards due to the acf_local function being removed.
ACF support said:
Yes, the `acf_local()` function was removed whilst making improvements to the "Local Fields" component.
Instead of directly accessing the acf_local() data, please make use of the functions available in the "includes/local-fields.php" file such as:
- acf_get_local_field_groups()
- acf_get_local_fields()
I'm not experienced enough with this particular part of ACF to patch it, but I just wanted to let you know.
Thanks, Lloyd
Hi @joneslloyd, Thank you so much for letting us know. We will digg into this to find a workaround. Best
No problem 🙂 Sorry I can't be of more help here.
NP, this is the first step and a big help anyhow ;)
Hi @joneslloyd @MaximeCulea Just submitted a pull request with a fix for that specific point.
Thank you, let's work on the #19 then.
https://yadi.sk/d/rDYs_fOLeMEsdg - This is a revised working version of the plugin. Just replace the file in the plugin folder