Created
January 29, 2020 19:24
-
-
Save Zillionx/962c6c0ac36b3392a44269b8d217e9c4 to your computer and use it in GitHub Desktop.
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
// limit post revision (wp-config) | |
define( 'WP_POST_REVISIONS', 3 ); | |
// disable post revision | |
define('WP_POST_REVISIONS', false ); | |
// delete revisions MySQL query | |
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