Sorry, it is complicated.
Is there a way this can be done? Probably, but it would be a lot of work and I can’t really give specific code that will do it. The solution is not an easy one, nor one that I would use.
You would have to:
acf_get_field_group()is the function you would use
If I needed to give someone the ability to rearrange the order of things I would consider this a good candidate for using flexible content fields.
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!
© 2022 Advanced Custom Fields.