Disable WordPress Revisions – Limit WP Revisions

disable wordpress revision

To disable WordPress revisions add the following lines of code to your wp-config.php file:

// Disable WordPress Revisions
define( 'WP_POST_REVISIONS', false );

To limit WordPress revisions add the following lines of code to your wp-config.php file:

// Limit WordPress Post Revisions - recommended settings ( minimum: 2 | maximum: 5 )
define( 'WP_POST_REVISIONS', 3 );

Note: It is recommended to keep the settings at minimum.

Stay in the loop with our web development newsletter - no spam, just juicy updates! Join us now. Join our web development newsletter to stay updated on the latest industry news, trends, and tips. No spam, just juicy updates delivered straight to your inbox. Don't miss out - sign up now!

We’ve tried our best to explain everything thoroughly, even though there’s so much information out there. If you found our writing helpful, we’d really appreciate it if you could buy us a coffee as a token of support.

Also, if you’re interested in learning more about WordPress, Javascript, HTML, CSS, and programming in general, you can subscribe to our MailChimp for some extra insights.

7 thoughts on “Disable WordPress Revisions – Limit WP Revisions”

  1. Fantastic blog you have here but I was curious if you knew
    of any discussion boards that cover the same topics discussed here?
    I’d really love to be a part of group where I
    can get advice from other knowledgeable individuals that share the same interest.
    If you have any suggestions, please let me know. Cheers!

  2. I think that what you typed made a ton of sense. However, what about this?
    suppose you added a little information? I mean, I don’t wish to tell you how to run your website, but what if
    you added something that grabbed folk’s attention? I mean Disable WordPress Revisions – Limit WP Revisions – DopeThemes is kinda boring.
    You ought to glance at Yahoo’s front page and see
    how they create post titles to grab people to open the links.
    You might try adding a video or a picture or two to get
    readers interested about what you’ve written. Just my opinion, it might bring your blog a little bit more

  3. Hi! Would you mind if I share your blog with my facebook group?
    There’s a lot of people that I think would really enjoy your content.
    Please let me know. Thanks


This site uses Akismet to reduce spam. Learn how your comment data is processed.