May 2017
Beginner to intermediate
536 pages
14h 25m
English
Autosaving is another feature that goes in combination with post revisions. Autosaving will create a different type of post revision at predefined time intervals. On most occasions, this feature will expand the size of your database rather than provide something useful. Unfortunately, we cannot switch off autosaving without editing the core files. Therefore, we need to extend the interval of autosaving by defining a large value for the AUTOSAVE_INTERVAL constant inside the wp-config.php file:
define('AUTOSAVE_INTERVAL', 600 );
The value of the AUTOSAVE_INTERVAL constant needs to be configured in seconds. Here, we have used 600 seconds (10 minutes) as the autosave interval.
Read now
Unlock full access