//The following goes to wp-config.php file define( 'WP_POST_REVISIONS', 3 );