Skip to content

Instantly share code, notes, and snippets.

@rdlmda
Last active August 29, 2015 13:56
Show Gist options
  • Save rdlmda/9040635 to your computer and use it in GitHub Desktop.
Save rdlmda/9040635 to your computer and use it in GitHub Desktop.
WP SQL Queries - A few SQL queries for manipulating posts, pages, users and comments directly
A few SQL queries for manipulating posts, pages, users and comments directly
DELETE from wp_comments WHERE comment_approved = '0';
UPDATE wp_comments SET comment_approved = '0';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment