Support

Account

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.

  • @graphix

    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?