We don’t recommend disabling WordPress post revisions. However, some users may want to disable revisions to reduce their WordPress database size.
The easiest way to do this is by installing Disable Post Revision plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, go to Settings » Writing page and select the post types where you want to disable revisions feature.
Don’t forget to click on the save changes button to store your settings.
If you don’t want to use the plugin, then you can also do the same thing manually by adding this code to your wp-config.php file.
Tables can't be imported directly. Please insert an image of your table which can be found here.
This code disables WordPress post revisions feature on your website. It will still allow WordPress to save one autosave and one revision in your browser storage.