Skip to content

Instantly share code, notes, and snippets.

@jsoningram
Created May 5, 2016 23:19
Show Gist options
  • Save jsoningram/d8507df2bd599502b58db2210b547b18 to your computer and use it in GitHub Desktop.
Save jsoningram/d8507df2bd599502b58db2210b547b18 to your computer and use it in GitHub Desktop.
Delete posts by post type SQL
DELETE FROM `wp_posts`
WHERE `post_type` = 'posttype'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment