How To Disable Post Revisions In WordPress

Post revisions are a way to restore previous versions of a post.  Revision history can be important in some aspects, especially when there may be several editors or contributors making changes.

But if they’re not needed, they can lead to unnecessary overhead in your database.  If you don’t want or need post revisions, you can disable them by adding the following line to your wp-config.php file

define('WP_POST_REVISIONS', false );

 

Sidebar
How To Remove Space Above Header In WordPressHow To Create A Simple WordPress Theme From ScratchHow To Add Class Depending On Media Screen SizeHow To Disable Post Revisions In WordPressAdd An Edit Link to WordPress Posts