Created
February 4, 2020 13:37
-
-
Save tallesairan/29efed3ec7d829bc32d15f17bad46848 to your computer and use it in GitHub Desktop.
Remove posts and meta by post type
This file contains hidden or 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 p,pm | |
| FROM wp_posts p | |
| INNER | |
| JOIN wp_postmeta pm | |
| ON pm.post_id = p.ID | |
| WHERE p.post_type = 'webhook' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment