Biddut Revision Cleaner helps you take full control of WordPress post revisions. Set smart retention rules per post type, analyze your database before touching anything, preview exactly what will be deleted, and clean with a single confirmed click — safely and without guesswork. The plugin covers al
PricingFree downloadThe WordPress.org download is free. Pro versions, add-ons or external services may cost extra.
CompatibilityRequires WordPress 6.5 and PHP 8.1.
SourceWordPress plugins · Nov 24, 2026
01 / Source details
Aboutthistool.
Biddut Revision Cleaner helps you take full control of WordPress post revisions. Set smart retention rules per post type, analyze your database before touching anything, preview exactly what will be deleted, and clean with a single confirmed click — safely and without guesswork.
The plugin covers all post types that support revisions — not just public ones. This includes Reusable Blocks (wp_block), Full Site Editing Templates (wp_template), Template Parts (wp_template_part), Navigation menus (wp_navigation), and any custom post type that registers revision support.
Smart Revision Retention Rules
Global Retention Limit — Keep only the last X revisions per post site-wide. Set to -1 for unlimited, 0 to keep none.
Per-Post-Type Limits — Override the global limit for Posts, Pages, Reusable Blocks, FSE Templates, and any Custom Post Type individually
Age-Based Deletion — Optionally delete revisions older than a configurable number of days during cleanup
Analyze First — Scan your full database before making any changes
Live Stats — See total revision count, how many will be deleted, estimated space freed, and number of posts affected
Breakdown Table — Per-post-type summary showing total revisions, revisions to delete, and active retention limit per type
Preview List — See individual revisions (up to 50) queued for deletion — post title, date, and author shown
Confirmation Prompt — Explicit confirmation step before any deletion takes place
Scheduled Cleanup (v1.1.0)
Enable Auto-Cleanup — Run cleanup automatically on a schedule, no manual action required
Daily / Weekly / Monthly — Choose the default frequency that suits your site
Preferred Run Hour — Set the hour of the day (0–23, site local time) when the scheduled cleanup fires. Choose an off-peak window to avoid busy traffic periods.
Per-Post-Type Frequency — Each post type can have its own cleanup schedule independent of the global default. Options: Use Default, Daily, Weekly, Monthly, or Disabled (excludes the type from scheduled cleanup entirely).
WP-Cron Integration — Runs silently via WordPress’s built-in task scheduler
Next Run Indicator — Settings page shows when the next scheduled cleanup will fire
Post-Cleanup Email Notifications (v1.1.0)
Enable Email Summary — Automatically receive a summary email after every scheduled or smart-triggered cleanup run
Configurable Recipients — Enter one or more email addresses (comma-separated). Invalid addresses are silently skipped.
Email Content — Summary includes: trigger type, revisions removed, auto-drafts removed, space freed, duration, and the date/time of the next scheduled run
Manual cleanup runs do not trigger an email — only automated (scheduled or smart) runs send notifications
SMTP Delivery (v1.2.0) — Configure an authenticated SMTP server (host, port, encryption, username/password, from name/email) so notifications still arrive when PHP’s mail() function is blocked or unreliable on your host
Send Test Email (v1.2.0) — Verify your email/SMTP setup with one click from the Settings page
Delivery failure notice (v1.2.0) — If a notification fails to send, the reason is shown inline on the Email & SMTP settings tab
Smart Trigger Mode (v1.1.0)
Enable Smart Triggers — Master toggle for all threshold-based auto-cleanup
Global Revision Count Threshold — Trigger a full site-wide cleanup when total revisions exceed a configured number
Per-Post-Type Revision Thresholds — Each post type can have its own threshold. Only that type is cleaned when its individual count is exceeded — without touching the rest of the site
Database Size Threshold — Trigger a full site-wide cleanup when the estimated revision table footprint exceeds a configured MB value
Asynchronous Execution — The threshold check on each page load is lightweight (at most two queries). When triggered, the actual cleanup is dispatched to a background WP-Cron job so the current page request is never blocked
Concurrency guard — A short-lived transient prevents multiple concurrent jobs from being queued simultaneously
Evaluation order — Global count → Per-type counts → DB size (each stage only evaluates if the previous did not trigger)
All three thresholds can be enabled simultaneously or independently
Every smart trigger run is logged in Cleanup Logs and triggers an email notification if enabled
Cleanup Logs
Full Cleanup History — Every cleanup run (manual, scheduled, or smart-triggered) is logged
Log Details — Date and time, trigger type, number of revisions deleted, auto-drafts removed, estimated space freed, and duration
Aggregate Totals — Lifetime totals for runs, revisions cleaned, and space freed shown at the top of the logs page
Paginated Log Table — Proper WordPress-style pagination with Prev/Next buttons, ellipsis for large page counts, and row count summary
Clear All Logs — One-click log history reset with confirmation prompt
Post-Level Cleanup
Per-Post Cleanup Button — Remove excess revisions for a single post directly from the post editor sidebar, without running a full site cleanup
Revision Count Meta Box — Displays the current stored revision count and active retention limit per post
Revision Count Column — See revision counts at a glance in the Posts, Pages, and Custom Post Type list tables
Automatic Revision Trimming
Every time a post is saved, the plugin automatically trims revisions that exceed the configured retention limit for that post type — no manual cleanup needed for new saves
Lightweight & Secure
Covers all revision-supporting post types via post_type_supports() — not just public ones
Built using WordPress native APIs only — no external libraries or dependencies
Nonce verification on every AJAX request and every admin page GET interaction
current_user_can() checks before every privileged action — manage_options for admin operations, edit_post for per-post cleanup
Full input sanitization (sanitize_text_field, absint, sanitize_key, sanitize_textarea_field, wp_unslash) and output escaping throughout
PHP 8.1+ with declare(strict_types=1)
License
Biddut Revision Cleaner is licensed under the GPL v2 or later. See https://www.gnu.org/licenses/gpl-2.0.html for details.
Privacy
This plugin does not collect, store, or transmit any user data outside your own WordPress database. Cleanup log entries are stored locally in a custom database table ({prefix}_bdrc_cleanup_logs) and can be cleared at any time from the Cleanup Logs page. Email notifications are sent using the site’s own wp_mail() function (optionally routed through SMTP credentials you provide) and do not involve any third-party services beyond the mail server you configure.
Support or Feature Requests
GitHub Repository
WordPress Support Forum
Contributing
Contributions are welcome! Visit the GitHub repository to submit a pull request or open an issue.
Credits
Built with WordPress
Follows WordPress coding standards and best practices
WordPress Dashicons used
See it in action
Screenshots & previews.
Dashboard — Analyze and Cleanup with live stats grid and breakdown tableAnalysis results with revision preview listSettings — Global limit, per-post-type limits, scheduled cleanup with hour picker and per-type frequencies, email notifications, and smart trigger configurationCleanup Logs page with aggregate totals, paginated history, and trigger badgesPost editor meta box showing revision count and per-post cleanup buttonRevision count column in the Posts list table
02 / Source details
Gettingstarted.
01Upload the plugin ZIP via Plugins → Add New → Upload Plugin
02Click Install Now then Activate Plugin
03Navigate to Revision Cleaner → Settings to configure your retention rules and optional schedule
04Go to Revision Cleaner (Dashboard) to run an analysis and cleanup
05Check Revision Cleaner → Cleanup Logs to review cleanup history
03 / Source details
Frequently asked questions.
Is it safe to delete revisions?
Yes. WordPress revisions are historical snapshots of your content. Deleting old ones does not affect your published posts, pages, drafts, or any live content in any way. The plugin always shows you a full preview before any deletion occurs.
Which post types does this plugin cover?
All post types that support revisions — not just public ones. This includes Posts, Pages, Custom Post Types with revision support, and built-in WordPress types like Reusable Blocks (wp_block), Full Site Editing Templates (wp_template), Template Parts (wp_template_part), and Navigation menus (wp_navigation).
Will revisions be automatically managed going forward?
Yes, in two ways. First, the plugin trims excess revisions automatically every time a post is saved, enforcing your configured limits in real time. Second, if you enable Scheduled Cleanup or Smart Trigger Mode, periodic full-site cleanups run automatically.
What is the difference between the global limit and a per-post-type limit?
The global limit applies to all post types by default. Per-post-type limits override the global setting for specific types — for example, keep 10 revisions for Posts but only 3 for Pages, and use the global default for everything else. Leave a per-post-type field blank to fall back to the global limit.
What does “Delete Older Than” do?
During any cleanup run, revisions created more than the configured number of days ago will also be deleted, in addition to any that exceed the count-based limit. Set to 0 to disable age-based deletion entirely.
What are auto-drafts?
Auto-drafts are temporary copies WordPress creates automatically while you write a post. They accumulate over time and are safe to remove. Enable the “Remove Auto-Drafts” option in Settings to include them in cleanup runs.
Can I undo a cleanup?
No. Deletion is permanent. Always use the Analyze step to review exactly what will be deleted before running a cleanup.
What is the Preferred Run Hour setting?
When a scheduled cleanup is enabled, the first event will be anchored to the next occurrence of your chosen hour (in the site’s local timezone). After that, the cleanup repeats at the configured frequency. Choosing an off-peak hour (for example, 02:00 at night) helps avoid running the cleanup during busy traffic windows. Note that WP-Cron is page-load driven, so the actual fire time may be a few minutes later than the target hour if no page load occurs exactly then.
What do Per-Post-Type Frequencies do?
Each post type can have an independent cleanup schedule. “Use Default” follows the global frequency. “Daily”, “Weekly”, or “Monthly” override it for that type only. “Disabled” excludes that type from scheduled cleanup entirely — it will only be cleaned manually or via Smart Trigger. When a per-type frequency is shorter than the global frequency, the cron fires at the shorter interval automatically.
Will I receive emails for every cleanup run?
No. Emails are sent only for Scheduled and Smart trigger runs, not for manual cleanup runs (since you are already watching the results in the browser). You can disable email notifications entirely from the Settings page.
What is Smart Trigger Mode?
Smart Trigger Mode watches two thresholds: total revision count and estimated revision table size. When either threshold is exceeded, a cleanup runs automatically in the background on a page load — without you needing to do anything. Every such run is logged in the Cleanup Logs page, and an email summary is sent if notifications are enabled.
What is Scheduled Cleanup?
Scheduled Cleanup uses WordPress’s built-in WP-Cron to run a full cleanup automatically at your chosen frequency (daily, weekly, or monthly). It applies the same retention rules as a manual cleanup. Every scheduled run is logged, and an email summary is sent if notifications are enabled.
What trigger types appear in the Cleanup Logs?
Three: Manual (you clicked Run Cleanup), Scheduled (WP-Cron fired), and Smart (a threshold was exceeded automatically).
Does this affect site performance?
No. The plugin has zero frontend footprint — no scripts or styles are loaded for visitors. Admin operations only run during manual cleanup actions, scheduled cron events, or the lightweight smart trigger check on non-admin page loads.
Is the Revision Count column shown for custom post types?
The revision count column is added to all post type list tables that support revisions, including custom post types.
Where is the per-post cleanup button?
In the post editor sidebar. Open any post or page in the editor, look for the “Revisions” meta box in the sidebar, and you will see the current revision count, the active retention limit, and a “Clean Revisions” button to remove excess revisions for that post only.
FinderPress Media Auditor helps site administrators scan for broken images, missing Media Library files, unreachable media URLs, and other media issues across WordPress content. Use it to audit images, video, audio, PDFs, featured images, and attachment files without sending scan data to an external
The Accepted Payment Methods plugin is a straightforward, lightweight solution that enhances your website by displaying visually appealing icons of the payment methods you accept. This plugin is ideal for a variety of websites, including e-commerce platforms, service-oriented websites, and informati