Last active
February 10, 2016 17:22
-
-
Save mspalex/791aaf46d94eb7ab328d to your computer and use it in GitHub Desktop.
Wordpress - Limit or Remove completely 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 | |
// set max post revisions | |
define(, 5); | |
//(or) | |
/** Disable Revision once for all*/ | |
define('WP_POST_REVISIONS', false ); | |
//(or) | |
/** Disable Revision once for all*/ | |
define('WP_POST_REVISIONS', 0); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment