Well would you be interest in simply creating a checkbox “Enable variable PHP output”?
IF box is checked and user goes to export PHP, it will print the variable version.
I can copy and paste, but I use the export feature alot and having to rework all field arrays into variable working ones, would take all day each time.
I am pretty sure the ACF community would support this idea. It’s for the advanced coder and will give all sort of creation power to any coder, thus broadening the flexibility of this already awesome product called ACF!
Please consider the potential of having this added, like, using the ACF Option add-on to globally control the elements.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!