code works fine, since now I get the structure out.
I’ve come across a weird issue with the output though.
Here is a snippet from the “custom field” part of the JSON output:
Tried to get the IDs out (“90”, “92”, “91”) so I can store it in an array to which I can reference the different “attachments”, since the urls don’t come with the “custom_fields”.
Can you spot what the issue is with the output? or does anyone else have a solution for this? Would love to hear some thoughts on this! 🙂
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!