Version: 2.1
Author: Amin Rahnama
Plugin URI: [https://mypixellab.com]
RA 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.
- 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
- 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.
- 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.
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.
- Uses WordPress cron jobs to run cleanup tasks
- Frequency options: daily, weekly, or monthly
- Custom cron interval for monthly cleanups is included
- Filters:
wp_revisions_to_keep– Filter to control revision limit (used internally)