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

  • I got it workin outside of a loop, finally, with this;

    update_field('field_64b38c4e3ec56', array(field_64c782fc4c55d=>7), 1123);

    so it is:

    update_field($group_field_name, array($sub_field_name=>$new_value), $post_id)

    I found it from this thread. Search for this sentence, “The true way for update / create a sub field of a group is with this ” by Sebastien Patelski dated October 28, 2021.

    I think this deserves some highlighting in the man pages.

    Again, that you for all your help John Hueber.