Home › Forums › Add-ons › Gallery Field › Import existing gallery fields › Reply To: Import existing gallery fields
ACF will pick up on it if 1) the data in the database is the same and this needs to be a serialized array 2) the meta_key value is the same and 3) the acf field key entry exists in the database for the post.
Let’s say the field name is “gallery” the database must have to entries for the post:
post_id meta_key meta_value
100 gallery {SERIALIZED ARRAY}
100 _gallery field_123456789abcd
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.