Home › Forums › Add-ons › Gallery Field › update_post_meta() and gallery field › Reply To: update_post_meta() and gallery field
@semanalitics I believe the s:4 is the length of the string value.
For instance, in my database, I have this:
s:14:”Walk-in closet”
And
s:16:”Washer and dryer”
Note the values equal how many characters follows.
I found your thread trying to figure out how to update the values globally (to fix typos) without editing the values and resaving every page that used it. Figured I’d help you while continuing to look for my answer. 🙂
Cheers.
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.