Disable WordPress Revisions – Limit WP Revisions

To disable WordPress revisions add the following lines of code to your wp-config.php file:

// Disable WordPress Revisions
define( 'WP_POST_REVISIONS', false );

To limit WordPress revisions add the following lines of code to your wp-config.php file:

// Limit WordPress Post Revisions - recommended settings ( minimum: 2 | maximum: 5 )
define( 'WP_POST_REVISIONS', 3 );

Note: It is recommended to keep the settings at minimum.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.