Home › Forums › General Issues › Saving additional data along with field data. › Reply To: Saving additional data along with field data.
Hmm… Try using acf/update_value
to update the field value into an array and add the extra meta data into this array then serialize the array and return the serialize value.
Then use acf/load_value
filter to un-serialize the value and return it to the template functions.
Here are the links to the docs for these filters:
http://www.advancedcustomfields.com/resources/acfupdate_value/
http://www.advancedcustomfields.com/resources/acfload_value/
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.