Created
August 20, 2014 00:04
-
-
Save kosinix/7d8f19352782ff598e1f to your computer and use it in GitHub Desktop.
Disable Post Revision and Delay Autosave in WP
This file contains hidden or 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
| wp-config.php: | |
| define('AUTOSAVE_INTERVAL', 300 ); // seconds | |
| define('WP_POST_REVISIONS', false ); | |
| SQL: | |
| DELETE FROM wp_posts WHERE post_type = "revision"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment