Custom presets in Divi help streamline design, but there may come a time when you need to reset or remove them entirely. Deleting all custom presets can give you a fresh start and simplify your design process.
This article will walk you through the steps to delete all custom presets on a Divi website, ensuring a clean slate for your future design work.
Before proceeding, please make sure that you have made a full backup of your website.
Important Note: This action is irreversible. Once the presets are removed, there is no way to undo the action or get the presets back.
β
It's essential to make sure it's what you're looking to do and that you have a backup created at hand, in case you need to restore.
While Divi doesn't have a single-click option to remove all presets at once, you can still delete all presets using the following customization:
Install and activate a Child Theme
Go to Appearance β Theme Files Editor
Select the functions.php file from the right sidebar
After the existing PHP code, place the following code:
add_action('after_setup_theme', function(){
if ( isset( $_GET['delete_global_presets'] ) ) {
delete_option( 'et_divi_builder_global_presets_history_ng' ); //delete presets history
die('Global Presets Deleted! :diviboom:');
}
}, 100);Save your changes
Visit this URL
https://website.com/?delete_global_presets
Note: Ensure that you replace website.com in step 6, without the actual website URL.