WordPress 101: Tips, Tricks & Hacks
WordPress as a Content Management System comes loaded with incredible amounts of functionality and customizability. WordPress makes this happen by providing its developers and site owners with features that empower their website design and development process.
How To disable post revisions?
One of the more powerful and useful features of WordPress is – Post Revisions. Plenty of WP users are either unable to or don’t want to use this feature due to limits on their database storage space. The following tip will help you save tons of storage on revisions.
Add the following code to the wp-config.php file to disable post revisions:
define('AUTOSAVE_INTERVAL', 120 ); // seconds define('WP_POST_REVISIONS', false );
This code will stop all future post revisions, and it expands the auto-save interval-period from 60 to 120 seconds. This implies that your post will be auto-saving at regular intervals of 120 seconds.