Created
June 18, 2015 07:43
-
-
Save jennimckinnon/50ff29047b41fd4ae284 to your computer and use it in GitHub Desktop.
Deleting all spam comments in WordPress.
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_comments WHERE comment_approved = 'spam'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment