WordPress plugin uninstall cleanup script generator
Across 862 activated WordPress.org plugins on WordPress 7.1.5, 162 plugins leave custom database tables behind after default deletion (many intentionally preserve user data unless an opt-in wipe toggle is enabled). Select uninstalled plugins below to generate a backup-first WP-CLI Bash script and pure SQL checklist with destructive lines commented out by default and shared Action Scheduler tables automatically skipped.
Updated By THTheme Editorial Team
Key facts
- Covers 1,007 custom wp_* tables, 347 WP-Cron hooks, and 2,867 option keys
- Automatically detects and skips shared actionscheduler_* tables used by WooCommerce, WPForms and Rank Math
- Supports any custom $table_prefix (validated locally; zero database credentials required)
- Every DROP TABLE and DELETE line ships commented out so running accidentally performs backup + dry-run only
- 1-click Download .sh, Copy SQL (phpMyAdmin), and Copy Markdown checklist
| Category | Plugins | Share of table creators |
|---|---|---|
| Total plugins executed in PHP 8.4 lab | 1,000 | 862 activated cleanly |
| Plugins leaving >=1 orphan table after default uninstall | 162 | 76.1% |
| Plugins dropping 100% of their tables cleanly | 51 | 23.9% |
| Largest single-plugin table count observed | Booking for Appointments and Events Calendar - Amelia (66) | Default uninstall without opt-in wipe |
Build your backup-first cleanup script
Select one or more plugins you have already deactivated and deleted, enter your site database prefix, and download or copy the safe dry-run script.
Plugins with the most leftover tables after default uninstall
Retaining tables by default protects against accidental data loss during updates or reinstalls. Always check a plugin settings screen for an official uninstall wipe toggle before running manual SQL.
| Plugin | Installs | Orphan tables | Crons | Options | Sample tables | Builder |
|---|---|---|---|---|---|---|
| Booking for Appointments and Events Calendar - Amelia | 90,000+ | 66 | 2 | 8 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +57 shared AS |
Load in builder |
| MailPoet - Newsletters, Email Marketing, and Automation | 500,000+ | 44 | 3 | 7 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +41 shared AS |
Load in builder |
| Appointment Booking Plugin - LatePoint | Calendar & Scheduling for WordPress | 100,000+ | 44 | 2 | 8 | wp_latepoint_customer_otp_codes, wp_latepoint_recurrences, wp_latepoint_carts +41 |
Load in builder |
| WooCommerce | 7M+ | 36 | 4 | 196 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +33 shared AS |
Load in builder |
| Wordfence Security - Firewall, Malware Scan, and Login Security | 5M+ | 26 | 6 | 6 | wp_wfls_2fa_secrets, wp_wfls_passkeys, wp_wfls_settings +23 |
Load in builder |
| Email Subscribers & Newsletters by Icegram Express - Email Marketing, Post Notifications & WooCommerce Marketing Automation for WordPress | 50,000+ | 25 | 5 | 66 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +22 shared AS |
Load in builder |
| Uncanny Automator - MCP Server + Automation - Connect Claude, ChatGPT & other MCP agents | 40,000+ | 22 | 16 | 6 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +19 shared AS |
Load in builder |
| FluentCRM - Email Newsletter, Automation, Email Marketing, Email Campaigns, Optins, Leads, and CRM Solution | 80,000+ | 21 | 6 | 6 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +18 shared AS |
Load in builder |
| GiveWP - Donation Plugin and Fundraising Platform | 100,000+ | 19 | 7 | 21 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +16 shared AS |
Load in builder |
| Online Scheduling and Appointment Booking System - Bookly | 60,000+ | 19 | 2 | 207 | wp_bookly_staff, wp_bookly_categories, wp_bookly_notifications +16 |
Load in builder |
| LearnPress - WordPress LMS Plugin to Create and Sell Online Courses | 60,000+ | 18 | 0 | 24 | wp_thim_cache, wp_learnpress_courses, wp_learnpress_files +15 |
Load in builder |
| Event Tickets and Registration | 90,000+ | 17 | 6 | 22 | wp_shepherd_tec_tasks, wp_shepherd_tec_task_logs, wp_stellarwp_tec_migration_logs +14 shared AS |
Load in builder |
| Real Cookie Banner: GDPR & ePrivacy Cookie Consent | 100,000+ | 16 | 0 | 301 | wp_rcb_stats, wp_rcb_stats_buttons_clicked, wp_rcb_stats_custom_bypass +13 |
Load in builder |
| Visitor Traffic Real Time Statistics | 30,000+ | 16 | 3 | 8 | ahc_search_engines, ahc_countries, ahc_daily_visitors_stats +13 |
Load in builder |
| Featured Image from URL (FIFU) | 60,000+ | 14 | 1 | 6 | wp_fifu_invalid_media_su, wp_fifu_meta_in, wp_fifu_meta_out +11 |
Load in builder |
| Defender Security - Malware Scanner, Login Security & Firewall | 80,000+ | 13 | 14 | 11 | wp_defender_email_log, wp_defender_scan_item, wp_defender_scan +10 shared AS |
Load in builder |
| Simply Schedule Appointments | 50,000+ | 13 | 4 | 19 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +10 shared AS |
Load in builder |
| Fluent Forms - Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder | 800,000+ | 12 | 5 | 12 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +9 shared AS |
Load in builder |
| ProfilePress - Paid Membership, Online Courses (LMS), Ecommerce, User Registration & Login Form, User Profile & Restrict Content | 100,000+ | 12 | 2 | 15 | wp_ppress_forms, wp_ppress_formsmeta, wp_ppress_meta_data +9 |
Load in builder |
| Blog2Social: Social Media Auto Post & Scheduler | 40,000+ | 12 | 0 | 2 | wp_b2s_user_tool, wp_b2s_ai_template, wp_b2s_posts +9 |
Load in builder |
| WPForms - AI Form Builder for WordPress - Contact Forms, Payment Forms, Survey Form, Quiz & More | 5M+ | 11 | 3 | 15 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +8 shared AS |
Load in builder |
| Ninja Forms - Contact Form Builder with Calculators, Quizzes, Signatures & AI Form Builder | 500,000+ | 11 | 9 | 10 | wp_nf3_forms, wp_nf3_form_meta, wp_nf3_fields +8 |
Load in builder |
| PrettyLinks - Affiliate Link Management, URL Shortener, Link Cloaking, Tracking & Branded Short Links | 200,000+ | 11 | 5 | 3 | wp_prli_tables, wp_prlidt_events, wp_prlidt_resque_completed_jobs +8 |
Load in builder |
| UserFeedback - Create Interactive Feedback Form, User Surveys, and Polls in Seconds | 200,000+ | 11 | 1 | 7 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +8 shared AS |
Load in builder |
| Download Monitor | 80,000+ | 11 | 2 | 8 | wp_download_log, wp_dlm_reports_log, wp_dlm_downloads +8 |
Load in builder |
| Form Maker by 10Web - Mobile-Friendly Drag & Drop Contact Form Builder | 30,000+ | 11 | 0 | 4 | wp_formmaker, wp_formmaker_display_options, wp_formmaker_groups +8 |
Load in builder |
| Kirki - Freeform Page Builder, Website Builder & Customizer | 400,000+ | 10 | 1 | 4 | wp_kirki_forms, wp_kirki_forms_data, wp_kirki_collaborations +7 |
Load in builder |
| Photo Gallery by 10Web - Mobile-Friendly Image Gallery | 100,000+ | 10 | 0 | 5 | wp_bwg_shortcode, wp_bwg_gallery, wp_bwg_album +7 |
Load in builder |
| Popup builder with Gamification, Multi-Step Popups, Page-Level Targeting, and WooCommerce Triggers | 60,000+ | 10 | 1 | 3 | wp_pbb_logs, wp_pbb_countries, wp_pbb_browsers +7 |
Load in builder |
| Site Reviews | 60,000+ | 10 | 1 | 11 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +7 shared AS |
Load in builder |
| Booking Calendar | 40,000+ | 9 | 1 | 206 | wp_booking, wp_bookingdates, wp_booking_activity +6 |
Load in builder |
| Forminator Forms - Contact Form, Payment Form & Custom Form Builder | 600,000+ | 8 | 1 | 13 | wp_frmt_form_entry, wp_frmt_form_entry_meta, wp_frmt_form_views +5 shared AS |
Load in builder |
| Newsletter - Send awesome emails from WordPress | 200,000+ | 8 | 1 | 11 | wp_newsletter_emails, wp_newsletter_sent, wp_newsletter +5 |
Load in builder |
| SureCart - Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments | 70,000+ | 8 | 3 | 26 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +5 shared AS |
Load in builder |
| WP Statistics - Simple, privacy-friendly Google Analytics alternative | 500,000+ | 7 | 7 | 9 | wp_statistics_pages, wp_statistics_historical, wp_statistics_visitor +4 |
Load in builder |
| WP All Import - Drag & Drop Import for CSV, XML, Excel & Google Sheets | 100,000+ | 7 | 0 | 2 | wp_pmxi_templates, wp_pmxi_imports, wp_pmxi_posts +4 |
Load in builder |
| Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories | 100,000+ | 7 | 1 | 15 | wp_actionscheduler_actions, wp_actionscheduler_claims, wp_actionscheduler_groups +4 shared AS |
Load in builder |
| Media Cleaner: Delete Unused Images & Clean Your Media Library | 90,000+ | 7 | 0 | 2 | wp_mclean_scan, wp_mclean_refs, wp_mclean_runs +4 |
Load in builder |
| Depicter - Popup & Slider Builder | 70,000+ | 7 | 4 | 10 | wp_depicter_documents, wp_depicter_options, wp_depicter_meta +4 |
Load in builder |
| Quiz and Survey Master (QSM) - Quiz Maker & Survey Maker | 30,000+ | 7 | 0 | 11 | wp_mlw_quizzes, wp_mlw_questions, wp_mlw_results +4 |
Load in builder |
Safety checklist before dropping any table
- Check plugin status: verify the plugin is deactivated and deleted (
wp plugin list) across every multisite sub-site. - Export a verified backup: confirm your
wp db exportfile is non-empty and downloadable outsidepublic_html. - Watch shared libraries: never drop
actionscheduler_actions,actionscheduler_claims,actionscheduler_groups, oractionscheduler_logswhile WooCommerce, WPForms, Rank Math, WP Mail SMTP, or All in One SEO remain installed. - Check the 12 core tables: never modify WordPress core tables (
posts,postmeta,options,users,usermeta,comments,commentmeta,terms,termmeta,term_taxonomy,term_relationships,links).
[WordPress Plugin Uninstall Cleanup Script Generator](https://ththeme.net/wordpress-plugin-uninstall-cleanup/) (THTheme, 2026-12-05, CC BY 4.0)FAQ
Why do reputable plugins like WooCommerce and Wordfence leave tables behind?
Major plugins intentionally retain orders, subscribers, or firewall logs when deleted so an admin troubleshooting a conflict does not wipe years of business records. Many offer an opt-in delete-all-data constant or checkbox.
Will running the downloaded .sh script immediately delete tables?
No. Every DROP TABLE, wp cron event delete, and wp option delete line is commented out by default. Running it as downloaded only checks plugin status, exports a SQL backup, and prints matching table sizes.
What if a plugin created additional tables after setup wizard steps?
Our WASM lab measures clean activation and default homepage execution. If you enabled paid add-ons or wizards, inspect unknown tables with our /wordpress-database-tables/ bulk SHOW TABLES classifier first.
Sources
- WordPress Plugin Handbook: Uninstall Methods
- Action Scheduler Library Documentation
- WP-CLI wp db export reference