Support

Account

Home Forums General Issues update_field not updating fiel Reply To: update_field not updating fiel

  • You can set the reply as private, only you and site users that can view private replies (like me) will see it.

    If it is a sub field then you cannot use update_field() to update it. This function is only for top level fields. To update sub field you must use update_sub_field() or use some other way to update the entire field and all sub fields at the same time, as I outlined it a this solutions that I referred you to in a previous reply https://support.advancedcustomfields.com/forums/topic/field-value-update-using-update_field-doesnt-show-on-backend/#post-162342

    It is not that confusing, if it is a sub field then you are using the wrong function/method to update the value.