title

Customize WordPress Post Revisions

 

Customize WordPress Post Revisions

23 Oct 2013, Posted by antoine in

The post revisions feature in WordPress is great, but the majority of users don’t use it. Database entries are created for revisions, even if they are not used. While they’re not a huge hit on your server’s performance, if you don’t use revisions, you can disable them by placing the following code in your wp-config.php file.

// To remove revisions
define( 'WP_POST_REVISIONS', FALSE );
// To limit them
define( 'WP_POST_REVISIONS', 5 );