I would like to delete a recurring field group entirely from my website, as I have found a better way to handle this information. Will deleting the custom field actually delete all the data in the database, or will it only remove the field from being available moving forward? I would like to make sure that the following is purged since there are thousands of entries:
- The custom field itself
- All post_meta in the database associated
- All relationships
- All associations between posts
Figured it'd be safest to check in with you before I proceeded so that I didn't make a mistake and leave any rogue data behind. Thanks in advance for providing best practice here.
- Aaron
Hello,
You can try these:
- The custom field itself
Dashboard-> Toolset-> Custom Fields, find and remove the fields and field groups
- All post_meta in the database associated
Dashboard-> Toolset-> Custom Fields, click button "Post Field Control", find and delete above custom fields
- All associations between posts
Dashboard, find those custom post types, and remove the posts
- All relationships
Dashboard-> Toolset-> Relationships, find and remove those relationships
To avoid any unexpected result, please backup your website database first.
Hi Luo,
The relationship does not show up in the relationships page because it is part of a repeating field group. The posts are also not accessible from the dashboard because of the same reason (repeating field groups do not appear on the dashboard). This only leave deleting the field itself from the custom fields editor and the post field control. I gave it a try and it appears all the data was successfully removed from the database. All set - thanks.
- Aaron