Home › Forums › Backend Issues (wp-admin) › Sorting field groups by drag and drop order › Reply To: Sorting field groups by drag and drop order
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 useacf_get_fields()
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!
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.