How To Disable/Limit WordPress Post Revisions

WordPress’ post revision feature was introduced to us in the 2.6 version of WordPress. A revision of your post is automatically stored in your database, whenever you save or draft a post or a page in your post editor. If you don’t like this WordPress post revision feature then you can limit or disable this feature.

Limit WordPress Post Revisions

You can limit the numbers of post revisions with this snippet. Just add following snippet to your wp-config.php file:

Replace 3 with maximum number of Post revisions per post.

Disable WordPress Post Revisions

You can also disable this feature by adding following snippet to your wp-config.php file:

Leave a Comment