How to Delete All Form Data When You Uninstall a Plugin
You set up a staging site or a client build, create a few test forms, collect sample submissions, and later decide to remove the tool. You go to your Plugins screen, click Deactivate, and then click Delete. You probably assume that once the plugin disappears from the list, every trace of it is gone from your server. Most site owners find out the hard way that this is not how WordPress works. By default, many plugins leave their settings and custom tables behind in your database. If you want a complete WordPress data cleanup, you have to tell the software explicitly to remove its stored records before you press that final delete button.

Why WordPress Leaves Plugin Uninstall Data in Your Database

When you click Deactivate on any plugin, WordPress simply runs an internal deactivation routine. It stops loading the plugin files, unhooks functions from actions and filters, and removes the plugin from active memory. Your database tables, options, and submission entries remain untouched. WordPress does this intentionally so you do not lose critical business information by accident. If you deactivate a plugin to troubleshoot a theme conflict or test a caching issue, you expect your forms and entries to be right there when you turn the plugin back on. If every deactivation wiped your database, temporary troubleshooting would destroy your business records. The problem comes during complete removal. When you choose to delete a plugin, WordPress checks if that plugin includes an uninstall routine. If the plugin developer did not write one, or if the user never enabled a cleanup setting, all custom tables and options stay inside MySQL. Over time, testing multiple tools leaves accumulated rows that clutter your site. When you want to delete form data in WordPress, you need to understand whether the plugin cleans up after itself automatically or if it requires you to flip a switch beforehand. In Diviniket WP Forms, cleanup is completely opt-in so that site owners stay in control of their records.

What Diviniket WP Forms Stores on Your Site

Before wiping anything, it helps to understand what information exists on your server. Diviniket WP Forms uses dedicated database tables owned by the plugin to store your submissions securely within your WordPress dashboard. When visitors complete forms created through the visual form builder, several pieces of information get saved:
  • Form configurations, field choices, layout styles, and display settings.
  • Submitted field data, such as records collected from the dedicated Name field, the Email field, and the international phone input.
  • References to uploaded files submitted through forms.
  • Global configuration settings, including keys used for third-party anti-spam services.
Because everything sits in plugin-owned database tables, you can normally view and review every enquiry under Divine Forms > All Entries. Leaving these tables in your database after you no longer use the tool takes up space and leaves old submission records sitting on your server indefinitely.

How to Enable Delete All Data on Uninstall

Diviniket WP Forms includes a specific setting named Delete All Data on Uninstall. Because accidental data loss can hurt a live business, the plugin keeps this option turned off by default. If you know you are removing the plugin permanently and want to purge all plugin uninstall data, you must turn this option on before you delete the plugin. Here is the step-by-step process:
  1. Log in to your WordPress administration dashboard as an administrator.
  2. Navigate to the settings area for Divine Forms.
  3. Locate the setting named Delete All Data on Uninstall.
  4. Enable the setting to confirm that you want database records cleared when the plugin is removed.
  5. Save your changes in the settings panel.
  6. Go to Plugins > Installed Plugins in your WordPress dashboard.
  7. Locate Diviniket WP Forms and click Deactivate.
  8. Once deactivated, click the red Delete link next to the plugin name and confirm the prompt.
Once you confirm the deletion, WordPress runs the plugin cleanup routine. Because you enabled the cleanup setting beforehand, the plugin removes its custom database tables and clears out its stored settings. If you forget to enable that switch before deleting the plugin files, those tables will stay in your database.

What Gets Cleaned Up and What Stays Behind

Being honest about software limits prevents headaches later. Enabling Delete All Data on Uninstall removes the plugin-owned database tables, the entries shown in the WordPress dashboard, and the plugin settings. However, it cannot clean up everything that exists outside the WordPress database tables. Here is what happens across your environment:
  • Plugin Database Tables: The tables created by the plugin to store entries and form configurations are dropped from MySQL.
  • Plugin Settings: Saved options, custom style settings, and global API keys are purged from your site.
  • External Spreadsheets: If you used the Google Sheets integration to send submissions to external spreadsheets, those spreadsheet rows remain untouched. The plugin does not connect to Google to wipe external documents during uninstallation.
  • Email Notifications: Notification emails already delivered to your inbox or sent to visitors remain in those respective email accounts.
  • Independent Site Backups: Any full site backups or database snapshots you made previously will still contain the old tables.
If you need those external spreadsheet rows removed, you will need to open your Google account directly and delete or edit the spreadsheet yourself.

What to Know Before You Run a WordPress Data Cleanup

Once database tables are dropped, those entries cannot be brought back through the WordPress dashboard. Taking five minutes to prepare your site will keep you from accidentally losing customer enquiries or business leads. First, check whether you need to keep a copy of past submissions. Diviniket WP Forms includes entry export functionality. You can head over to Divine Forms > All Entries, review the submissions you have gathered, and export them to a file for your offline records before you touch the uninstall setting. Second, take a standard backup of your WordPress database. As a general WordPress technique, running a backup before modifying or removing plugins gives you a safety net if you ever need to restore previous configurations. Third, remember that third-party credentials will be wiped locally. If you configured API keys for your spam protection settings, such as Google reCAPTCHA v2, Cloudflare Turnstile, or hCaptcha, make sure you have those keys saved in your password manager if you plan to use them elsewhere.

Cleaning Up Shortcodes from Your Pages

Uninstalling a plugin cleans up its backend files and database tables, but it does not edit your WordPress post or page content. If you added forms to your pages, those pages will still contain the raw shortcode text until you manually edit them. Diviniket WP Forms displays forms using a simple shortcode format:
[divismfo_form id="123"]
In this example, 123 is only an example ID. Your actual forms use their own unique ID numbers generated when you created the form. When the plugin is active, WordPress reads that shortcode, processes the form fields, loads the style customizer options, and renders the form for your visitors. Once you delete the plugin, WordPress no longer recognizes the shortcode tag. Instead of seeing a working form, visitors will see the literal text string on your page. As a general WordPress technique, search through your published pages, posts, or page builder layouts after uninstallation. Remove the shortcode block or widget from the content area, or replace it with plain contact information so visitors can still get in touch with you.

FAQ

Does deactivating Diviniket WP Forms delete my entries?

No, deactivating the plugin does not delete your forms, settings, or entry records. It only deactivates the plugin code so you can safely troubleshoot issues without losing data.

What happens to submissions sent to Google Sheets when I uninstall?

Submissions synchronized to Google Sheets stay safe inside your external spreadsheet. The plugin uninstall routine only clears data from your WordPress database and does not modify external Google accounts.

What if I forgot to enable the cleanup setting before deleting the plugin?

If you deleted the plugin without enabling Delete All Data on Uninstall, its database tables remain in your database. You can reinstall the plugin, enable the setting in the options, and delete the plugin again to complete the cleanup.

Will WordPress automatically clean up custom database tables on its own?

No, core WordPress does not automatically drop custom database tables created by plugins during a deletion. A plugin must explicitly include an uninstall routine, which Diviniket WP Forms handles when the cleanup setting is turned on.

Managing your site cleanly helps keep your database orderly and prevents unwanted records from accumulating over time. For more practical walkthroughs and setup guides, take a look at the YouTube tutorial channel, or connect directly through my Aditya Singh LinkedIn profile.

Download Diviniket WP Forms