in2wp

  • Home
  • Tips
  • How to
  • Save
  • Themes
  • Contact

How to Disable WordPress Post Revisions

Open wp-config.php located in your WordPress root directory and add the following code:

define('AUTOSAVE_INTERVAL', 300 ); // seconds
define('WP_POST_REVISIONS', false );

This code will disable all future revisions to be saved and it will also increase your autosave interval from 60 seconds to 300 seconds, so it means your post will be autosaving every 5 minute instead of every minute.

Oct 20, 2019admin
KingSumo - Lifetime Deal - AppSumoFindeo - Real Estate WordPress Theme
You Might Also Like
 
KingSumo – Lifetime Deal – AppSumo
 
Switching PHP Version within cPanel
1 year ago Code, How to, Tips58

Most viewed
Wave-Video-Maker-Lifetime-plan-Animatron
Wave.video Lifetime Deal
542 views
cPanel doesn’t allow @ as the Name for TXT Record
169 views
How to close a Google Form it to accept responses (or reopen)
153 views

About

in2wp

Start & Keep Growing with WP!

Guide you to quickly take your business online with WordPress and go beyond the usual online marketing actions.

  • in2wp
  • Contact in2wp
  • Terms of Service
  • Privacy Policy

This content uses referral links, which means in2wp may be compensated in exchange for your clicking on links posted on this website. Read our disclosure policy for more info.

  • in2wp
  • Contact in2wp
  • Terms of Service
  • Privacy Policy
2018 © in2wp.com | It all starts with a simple d̵r̵e̵a̵m̵ WordPress website !