Home › Forums › General Issues › Automating Shortcodes to ACF conversion › Reply To: Automating Shortcodes to ACF conversion
Hi James,
Today, I had the time between two project to continue to work on this.
Thanks to your help and guidance, I made it.
As you can see with the selected solution, I use the first one as I’ve to “add” everything and have no “existing values”.
My format sightly differs:
$value = array(
array('before_image' => $before_image, 'after_image' => $after_image, 'acf_fc_layout' => 'before_after')
);
I’ll continue and hope everything will be ok!
Thanks again.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.