Home > Dev > WordPress Optimization > Limiting Post Revisions

Limiting Post Revisions

This code will limit the number of post revisions stored in the database.

// Add this to your wp-config.php file

define('WP_POST_REVISIONS', 5);
Back