Support

Account

Home Forums Backend Issues (wp-admin) How to delete the value of a field within a group

Unread

How to delete the value of a field within a group

  • I wish I had never started using group fields but here we are!

    Are there any functions in ACF to delete the value of a field, that is within another group field?

    https://www.advancedcustomfields.com/resources/#functions

    I can’t find anything for group fields, only for repeaters or flexible content. I just want to delete a value of a field, or delete any data held in an array in a field.

    Is this possible with one of the ACF functions?

    At the moment i’m querying the post, getting the field and sub-field, setting it to null (or trying to) and then updating the group, and the value is staying the same.

    Any ideas?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.