Last active
June 10, 2016 18:03
-
-
Save visualpropaganda/f3d9fd4e60178cf06cb4c8d0e0533cde to your computer and use it in GitHub Desktop.
Limit Wordpress Post Revisions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//disable WP Post Revisions | |
//insert above the ‘ABSPATH’ otherwise it won’t work | |
define('AUTOSAVE_INTERVAL', 300); // seconds | |
define('WP_POST_REVISIONS', false); // or any number of revisions <ou like to keep (ex. 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment