How to Remove the Code Snippets Plugin Data on Your Site

Remove Code Snippets Plugin Data

The Code Snippets plugin is a commonly used plugin for storing code snippets that are not tied to the child themes functions.php file.

Code Snippets Plugin for WordPress

Code Snippets Plugin

The Code Snippets plugin will store created code snippets into the below custom database table;

wp_snippets

Existing code snippets in the plugin can be downloaded as PHP files which you can turn into site-specific plugins or you could add them into the child themes functions.php file.

To remove all of the code snippets data when you uninstall the plugin, select “Complete Uninstall” by navigating to:

Snippets > Settings > General

Code Snippets Plugin Settings

The default setting for the Code Snippets plugin will not remove the data when the plugin is uninstalled so you will need to make sure that the settings have been selected and then saved.

You can verify that the Code Snippets database table no longer exists after the plugin has been uninstalled by searching for the table name in a plugin like WP-Optimize. Another plugin option to check if the code snippets database table no longer exists would be SQL Buddy.

SQL Buddy

The code snippets plugin is a useful per-site usage plugin that can be replaced with the code snippets extension from MainWP.

MainWP Code Snippets

Useful Links

Leave a Comment




This site uses Akismet to reduce spam. Learn how your comment data is processed.

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys