Home › Forums › Backend Issues (wp-admin) › update_sub_field doing nothing, with or without keys. › Reply To: update_sub_field doing nothing, with or without keys.
Thanks again, Using this I can verify, by adding in an echo, that it gets through to the label group, using keys I’ve snagged from another array, but when it comes to update_sub_field
, whether using the name or field key, it doesn’t work. I’m going to continue checking logs, but nothing is popping up…
EDIT:
I tried echoing the result of update_sub_field
, and it seems only the first one (for ‘label’) does anything – it returns true
, though it doesn’t actually update anything! A bit odd that it both does nothing, and doesn’t continue to the next update_sub_field
, is it not?
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.