Hello. Thank you for contacting the Toolset support.
But what exactly you want to delete. If you created custom fields using Toolset and if you delete it from database it will have negative impact on your site.
Just to inform you before you take this decision - we are around the corner to publish a new big release that has FSE (Full Site Editing) theme support that is a new feature we are foing to publish with many of the new bug fixes.
There is no automatic way to delete the content from database using Toolset.
*** Please make a FULL BACKUP of your database before doing any interaction with the database so in any worst case you will have a backup to restore it ***
You may would like to try the following plugin:
- https://wordpress.org/plugins/advanced-database-cleaner/
By Toolset deleting the plugin alone does not remove all Toolset data from the database. Toolset stores custom fields and their values in WordPress tables, primarily wp_postmeta.
To Remove Toolset field definitions and data
- In WordPress Admin, go to:
- Toolset → Custom Fields
- Remove the custom fields from their field groups.
- Scroll to the bottom and open Post Field Control.
- Delete the abandoned fields there.
If you created the Toolset custom field with slug "price" (without quotes), it will be saved within the postmeta table as for example "wpcf-price", you can remove all values with SQL:
DELETE FROM wp_postmeta
WHERE meta_key = 'wpcf-price';
To see Toolset-related fields first:
SELECT DISTINCT meta_key
FROM wp_postmeta
WHERE meta_key LIKE 'wpcf-%';
Toolset also adds the following custom tables:
- wp_toolset_associations
- wp_toolset_relationships
- wp_toolset_type_sets
- wp_toolset_post_guid_id
To remove Toolset options from wp_options table:
DELETE FROM wp_options
WHERE option_name LIKE '%toolset%'
OR option_name LIKE '%wpcf%';
Please make sure to take full bakup before performaing any deletion action.