Home › Forums › General Issues › Deleting ACf field from WordPress Post form › Reply To: Deleting ACf field from WordPress Post form
ACF won’t delete the data in the wp_postmeta table because it’s possible that the data is still in use by other things on your site. In this case, you need to find the old data and delete them manually.
ACF saves two entries in the wp_postmeta table, the custom field value and the custom field reference. The value will look like this in your database:
custom_field_name : custom field value
While the reference looks like this:
_custom_field_name : field_1234567890abc
I hope this helps 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.