Deleting All Snippets and Folders in SnipVault
Written By mark@uipress.co
Last updated 12 months ago
There may be situations where you need to completely reset your SnipVault installation by removing all snippets and folders. This guide explains how to safely perform this operation.
When to Delete All Snippets
You might want to delete all snippets and folders when:
Migrating to a new code organisation system
Cleaning up after testing or development
Starting fresh with a new project
Troubleshooting issues with corrupt snippets
Accessing the Delete Function
Log in to your WordPress admin dashboard
Navigate to Settings β SnipVault or go to
/wp-admin/options-general.php?page=snipvault#/Click the Settings icon (gear/cog) in the top-right corner of the SnipVault interface
The settings modal will appear with the "Plugin settings" section visible
Deleting All Snippets and Folders
In the settings modal, locate the "Delete snippets & folders" section
Click the Delete button (red button)
A confirmation dialog will appear asking you to confirm this action
Confirm your choice to proceed with deletion
Important Warnings β οΈ
This action cannot be undone. All your snippets and folder structure will be permanently deleted.
All snippet files will be removed from the server.
Any code currently being executed via autoloaded snippets will stop functioning immediately.
Custom plugin exports created from snippets will not be affected.
After Deletion
Once the deletion is complete:
You'll be returned to an empty SnipVault interface
All file storage related to snippets will be cleared
Your SnipVault settings (including license key) will remain intact
You can begin creating new snippets and folders from scratch
Recommended Precautions
Before deleting all snippets and folders:
Backup your code: Export any important snippets or make note of critical code
Document your folder structure: Take screenshots of your organisation if it's complex
Notify team members: Ensure everyone is aware of the upcoming changes if in a team environment
Check dependencies: Verify if any site functionality depends on your snippets
This reset function gives you a clean slate to work with while maintaining your SnipVault installation and configuration.