WooCommerce Customer Cleanup Pro
WooCommerce Customer Cleanup Pro
Spam Registration Protection & Automatic Inactive Customer Cleanup
WooCommerce Customer Cleanup Pro is a powerful two-in-one WooCommerce security and optimization plugin that:
- Blocks spam and fake email registrations before accounts are created
- Automatically deletes inactive customer accounts with zero orders
No manual cleanup. No bloated database. Fully automated.
🚨 The Problem
Most WooCommerce stores face the same hidden issues:
1️⃣ Spam Email Registrations
Bots and bad actors register using:
- Disposable email services
- Gmail dot trick variations
- Random or auto-generated email patterns
These fake accounts pollute your user list and hurt email deliverability.
2️⃣ Inactive Customers with No Orders
Users who register but never purchase:
- Increase database size
- Slow down admin queries
- Add unnecessary load to backups and exports
WooCommerce Customer Cleanup Pro solves both problems automatically.
🔒 Spam Email Blocking (Before Account Creation)
Block spam registrations across WooCommerce registration and checkout forms.
Included Protection Rules
-
Gmail Dot Trick Detection
Blocks spam patterns likej.o.h.n.d.o.e@gmail.com(Gmail ignores dots) -
Disposable Email Blocking
Blocks 20+ temporary email domains (Mailinator, TempMail, etc.) -
Random Pattern Detection
Blocks bot-style emails likexk2j83hd@domain.com -
Numbers-Only Emails
Blocks emails such as123456@domain.com -
Consecutive Number Detection
Blocks patterns likeuser123456789@domain.com
✔ Applied automatically to registration + checkout
🧹 Automatic Customer Cleanup (Zero Orders Only)
Safely clean inactive users without risking real customers.
How It Works
-
Smart Marking System
New registrations are automatically marked as inactive -
Auto-Unmark on First Order
As soon as a customer places their first order, they are permanently safe -
Configurable Inactive Period
Automatically delete inactive accounts after:- 30 days
- 60 days
- 90 days (or custom)
-
Batch Processing
Handles large WooCommerce stores efficiently -
Admin Protection
Administrator accounts are never deleted
📧 Email Delivery Protection
Prevent accidental deletion due to email typos.
-
Failed Email Detection
Detects undeliverable email addresses -
24-Hour Grace Period
Customers have time to fix typos -
Order Safety Rule
If a customer places an order within 24 hours, their account is kept
⚙ Technical Highlights
-
HPOS Compatible
Fully compatible with WooCommerce High-Performance Order Storage -
Optimized Queries
Uses smart flags instead of scanning all users (up to 99% less DB load) -
Server Cron Support
Reliable execution via crontab (no WP-Cron dependency) -
Detailed Logging
Full audit trail of blocked emails and deleted accounts -
Clean OOP Architecture
Professional, maintainable, production-ready codebase
🛠 Installation
- Upload the
woo-customer-cleanup-profolder to/wp-content/plugins/ - Activate the plugin in WordPress
- Go to WooCommerce → Customer Cleanup
- Click “Mark Existing Users” to mark current zero-order accounts
- Configure inactivity rules and cron settings
- Add the provided server crontab command
That’s it — automation starts immediately.
❓ Frequently Asked Questions
Does this plugin require WooCommerce?
Yes. WooCommerce must be installed and active.
Will it delete customers who have placed orders?
No. Only customers with zero orders are ever deleted.
What if a customer has an email typo?
The plugin waits 24 hours before taking action.
If the customer places an order within that period, the account is preserved.
Is it compatible with HPOS?
Yes. Fully compatible with WooCommerce High-Performance Order Storage.
How does Gmail dot trick detection work?
Gmail ignores dots in addresses (john.doe@gmail.com = johndoe@gmail.com).
Spammers exploit this by adding multiple dots.
The plugin blocks Gmail addresses containing 3 or more dots.
📝 Changelog
1.0.0
- Initial release
- Spam email blocking (Gmail dot trick, disposable emails, random patterns)
- Automatic inactive customer cleanup
- 24-hour grace period for email failures
- HPOS compatibility
- Admin dashboard with statistics
🔔 Upgrade Notice
1.0.0
Initial release of WooCommerce Customer Cleanup Pro.