DataPrune
DataPrune is a bulk-deletion and database-cleanup plugin for WordPress. It lets you remove any type of content — posts, pages, media, comments, users, taxonomy terms, and metadata — with precise filters and conditions, without ever risking a 503 timeout thanks to its AJAX batch processing engine . W
DataPrune is a bulk-deletion and database-cleanup plugin for WordPress. It lets you remove any type of content — posts, pages, media, comments, users, taxonomy terms, and metadata — with precise filters and conditions, without ever risking a 503 timeout thanks to its AJAX batch processing engine .
Whether you manage an automated content site (e.g. WP Automatic / ValvePress), a high-traffic blog, or a large e-commerce store, DataPrune gives you full control over what stays and what goes.
✨ Key Features
8 deletion modules, each with dedicated filters:
- 📄 Posts / Pages / CPT — filter by status (published, draft, private, pending, scheduled…), date range, categories, tags, authors, post type. Option to also delete associated media in one click.
- 🖼️ Media & Attachments — delete orphaned media (not linked to any post and not used as featured image), filter by MIME type, minimum file size, and upload date range. Protected media (site logo, favicon, header/background image) are never deleted.
- 🔁 Revisions — delete all post revisions or only those older than a specific date range.
- 🗑️ Trash — permanently empty the WordPress trash, by content type.
- 💬 Comments — delete spam, pending, approved or trashed comments with date filter.
- 👤 Users — delete users by role, registration date, and activity (users with no published posts). Administrators and the currently logged-in user are always protected.
- 🏷️ Taxonomy Terms — delete empty terms (no associated posts) for any taxonomy.
- 🔑 Post Meta & User Meta — delete metadata records by key and optional value.
⏱️ Scheduled Auto-Deletion
Create automatic deletion tasks that run on a recurring schedule (hourly, twice daily, daily, weekly, monthly):
- Choose deletion type, filters, and frequency
- Enable/disable each task independently
- Run any task manually on demand