Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Deletes all pending comments WordPress from within MySQL
DELETE FROM wp_comments WHERE comment_approved = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment