Created
November 13, 2017 10:03
-
-
Save cedriccharles4/c07143372eaa3a3263303dcc19848820 to your computer and use it in GitHub Desktop.
Limit number of WP 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
<?php | |
//Limit WP post revisions | |
define('AUTOSAVE_INTERVAL', 300); // seconds | |
define('WP_POST_REVISIONS', 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment