Created
March 13, 2019 14:37
-
-
Save DigitalEssence/03697a7bc47a9bc320a12b4d0b5afab2 to your computer and use it in GitHub Desktop.
WordPress - MYSQL - Delete all post revisions from database
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
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