How to Disable WordPress Post Revisions

| Last Updated: | In: WordPress, WordPress Snippets


WordPress has many default functionalities, In today’s tutorial, I will explain how to disable WordPress post revisions. When you writing a post in WordPress, WordPress automatically draft your post.

WordPress has also maintained the revisions of your posts and pages when you are updating your posts & pages by using the admin panel.

Post revisions have stored in your MySQL database and it will occupy your database space, so if you want to completely disable the WordPress default functionalities called “Post revisions”, then keep your close attention in this post.

How to Disable WordPress Post Revisions

Navigate to the Root directory of your WordPress website and open wp-config.php file and add below code at the end of the file.


About: Prem Tiwari

Prem Tiwari is the founder of freewebmentor.com and is a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.


You may also like:


, , , , , ,