Home › Forums › Feature Requests › Move fields from one field group to another › Reply To: Move fields from one field group to another
This helped me a lot: http://www.logicspot.com/developer-blog/advanced-custom-fields-quick-hack-to-move-a-field-to-another-group/
There described just 2 actions to achieve desired result:
Using phpMyAdmin
1. Find IDs of groups you want to move fields between (From Group -> To Group)
SELECT * FROM wp_posts WHERE post_type="acf"
you’ll see all the field groups, so just remember 2 FromID and ToID
2. Find all fields of From Group
SELECT * FROM wp_postmeta WHERE meta_key LIKE "field_%" AND post_id=FromID
then just change post_id of appropriate fields to ToID and all these fields will be moved to To Group
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.