Lego2012
12/13/2016 - 9:58 AM

Posts and Pages - Reduce Post Revisions

Posts and Pages - Reduce Post Revisions

<!-- Revisions are the WordPress built-in time machine to the edits of your content. By default, there's no limit to the number of post revisions that are stored in your database, but "infinite" is a huge number that hardly would be useful to the purpose of your website. That's why you can set a specific number of revisions you want to be saved. For this tweak, you should open the wp-config.php file and add: -->

define( 'WP_POST_REVISIONS', 3 );

<!-- Pick a number that works for you and put it in it. If you want to disable the storage of revisions (and just have the autosave), use "-1" instead. -->