Reduce reviews of posts

Reduce reviews of posts

WordPress saves reviews of our posts and pages as we write and edit them, this can mean an increase in size in our database especially if our blog has a large number of publications and we do not care about our database.

To limit the number of revisions use the following snippet in the wp-config.php file

3 is the number of revisions to save, if you want to deactivate them, replace it with “false”.

Source: WordPress Codex