RA Revisions
RA Revisions is a lightweight and powerful WordPress plugin that gives you full control over post revisions. Limit the number of saved revisions for each post, and schedule automatic cleanups to keep your database lean and optimized.
by Amin Rahnama · github.com/jeihoon/ar-wp-revisions · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jeihoon/ar-wp-revisions/archive/refs/heads/main.zipRA Revisions is a lightweight WordPress plugin that helps you manage post revisions by limiting how many are stored and providing tools to clean them up manually or on a schedule. Keep your database optimized and under control with a clean, simple interface.
🚀 Features
- Limit how many revisions are kept per post
- Schedule automatic cleanup (daily, weekly, or monthly)
- Manual cleanup option with one click
- Displays total revisions currently in the database
- Simple admin settings page
- Cron-based scheduled cleanup using native WordPress events
⚙️ Plugin Settings
- Revisions Limit – Enter how many revisions to keep for each post.
- Cleanup Frequency – Choose how often to run the automatic cleanup (daily, weekly, or monthly).
- Manual Cleanup – Use the button to instantly delete excess revisions across all posts.
📦 Installation
- Download the plugin or clone the repository into your
/wp-content/plugins/directory. - Activate the plugin from the Plugins menu in WordPress.
- Go to RA Revisions in the WordPress admin menu to configure settings.
🧼 Why Use RA Revisions?
WordPress stores a revision every time a post or page is updated. Over time, this can add up to thousands of extra database entries. RA Revisions helps keep your site lean by automatically removing excess revisions while preserving the latest few per post.
📅 Scheduled Cleanup
- Uses WordPress cron jobs to run cleanup tasks
- Frequency options: daily, weekly, or monthly
- Custom cron interval for monthly cleanups is included
🛠️ Developers
- Filters:
wp_revisions_to_keep– Filter to control revision limit (used internally)