Home › Forums › Backend Issues (wp-admin) › Where do fields live in the database? › Reply To: Where do fields live in the database?
In ACF 4 the field groups are save as a post in the post table with a post type of “acf”. This hold the record of the field group. The fields and other settings for the field group live in the postmeta table and you’ll find everything for the field group by looking for the post_id of the acf post. Most of the data is stored as serialized arrays, so be careful editing them.
In ACF 5, there are two post types “acf-field-group” and “acf-field”. the acf-field post type are child posts of the acf-field-group post type. First you need to find the parent group ID and then search for acf-field posts with that parent id. The group and field information are both saved in the post table post_content column as serialized arrays, again, be careful editing 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!
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.