Home › Forums › Add-ons › Flexible Content Field › Changing the order of layouts in a flexible content field with PHP › Reply To: Changing the order of layouts in a flexible content field with PHP
I can’t help you with this, all I can say is I’ve never seen this asked or answered in the years I’ve been helping here. You would be looking at building your own editor. You would need to somehow record the information on the current row order and the new row order and then submit that information to the server. Then you’d need to get the value of the flex field and alter the order of the rows based on this input and then save the value. If you can figure out how to get the information to the server I may be able to help you figure out what to do in PHP.
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!
© 2023 Advanced Custom Fields.