Home › Forums › General Issues › Reimporting ACF select field › Reply To: Reimporting ACF select field
That data structure is the PHP Serialize format, you can use it as is, or decode/encode it using unserialize()
and serialize()
. as long as your destination field is the same type then the data is just an array of two items, “value” and “label”.
This is how ACF packs multiple pieces of information into a single db cell when it makes sense for some field types, the equivalent would be JSON encoding.
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.