Description
Mash Bulk Cleaner removes large amounts of unwanted data without timeouts, even on shared hosting. Every cleanup shows you a count and a list of matches first, so you always know what will be deleted.
You will find it under Tools > Mash Bulk Cleaner.
Product Reviews (WooCommerce)
- Delete pending, approved, spam or trashed product reviews.
- Filter by date range, product, star rating, text (content, name or email) and “contains links”.
- Tick reviews one by one, select a whole page, or select every match.
- Product ratings and review counts update automatically.
Orders (WooCommerce)
- Delete failed, cancelled, pending payment, draft, on hold, refunded or trashed orders.
- Filter by date range and payment method.
- Completed and processing orders are never listed or deleted.
- Works with High-Performance Order Storage (HPOS) and the legacy posts storage.
Comments
- Delete pending, approved, spam or trashed comments, pingbacks and trackbacks.
- Filter by date range, post type, text and “contains links”.
- Product reviews and order notes are never included.
Database
- Post revisions, auto-drafts and trashed posts (with an “older than X days” filter)
- Orphaned post meta, comment meta, user meta and term relationships
- Expired transients and the oEmbed cache
- WooCommerce: expired customer sessions, orphaned product variations and orphaned order items
- Completed, failed and cancelled scheduled actions (Action Scheduler)
- Optimize tables to reclaim space after a large cleanup
Built to be safe and light
- Deletes in small batches over AJAX, with a progress bar and a Stop button.
- Uses WordPress and WooCommerce APIs to delete comments, posts and orders, so related data and hooks are handled correctly.
- Admin only: requires the
manage_optionscapability, plusmanage_woocommercefor WooCommerce data. - Every request is nonce-checked, every input is validated against a fixed list, and every query is prepared.
- Loads nothing on the front end, adds no database tables, stores no settings and makes no external requests.
WooCommerce is optional. Without it, the Comments and Database tabs still work.
Screenshots




Installation
- Upload the
mash-bulk-cleanerfolder to/wp-content/plugins/, or install it from Plugins > Add New. - Activate the plugin.
- Go to Tools > Mash Bulk Cleaner.
- Take a database backup before your first large cleanup.
FAQ
-
Can I undo a deletion?
-
No. Deletions are permanent. Always take a database backup first.
-
No. Items are deleted in small batches, each in its own short request. If you close the tab, it simply stops, and you can run it again later.
-
Can it delete completed or processing orders?
-
No. Those statuses are not in the plugin’s allowed list, and every order’s status is checked again right before it is deleted.
-
Does it support HPOS?
-
Yes. It uses WooCommerce’s own order functions, which work with HPOS and legacy storage.
-
Do I need WooCommerce?
-
No. The Product Reviews and Orders tabs only appear when WooCommerce is active.
-
Does it work on multisite?
-
Yes. It cleans the site you are viewing. Run it on each site separately.
Reviews
Contributors & Developers
“Mash Bulk Cleaner” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Mash Bulk Cleaner” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.2.0
- New Database cleanups: orphaned user meta, orphaned term relationships, oEmbed cache, expired WooCommerce sessions, orphaned product variations, orphaned order items and table optimization.
- Renamed tabs to Product Reviews, Orders, Comments and Database.
- New plugin icon.
- Code prefix changed to mashbc for uniqueness.
1.1.0
- Select items by hand with checkboxes, select all on a page, or select all matching items.
- Paged match list (50 per page).
1.0.0
- First release.
