Support

Account

Home Forums General Issues Empty previous entered field-data on save? Reply To: Empty previous entered field-data on save?

  • have the filter run after ACF (priority 20)

    Then you get use get_field to get the radio field and update_field if you want to clear it but leave the DB entries.

    If you want to completely delete the db entry you’ll need to use delete_post_meta() WP function and you will need to delete 2 values.

    'your_field_name'

    AND

    '_your_field_name'

    If you are doing this for repeater fields or other nested fields you should look at the database to see how ACF names these types of fields.