1// on wp-config.php -->
2define( 'WP_POST_REVISIONS', 5 ); // Save max 5 revisions
3define('AUTOSAVE_INTERVAL', 120 ); // Save revision automatically after 2 minutes (default 60 sec.)
1// Inside wp-config.php -> LIMIT POST REVISIONS to 8
2define( 'WP_POST_REVISIONS', 8 );