Created
December 21, 2017 20:32
-
-
Save CapWebSolutions/ff322da93784c2f847f20b2dee68d6cc to your computer and use it in GitHub Desktop.
Use this gist in phpmyadmin to find extraneous stuff in db. Use Custom Post Type Cleanup PI to get rid of the stuff.
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
| SELECT `ID`, `post_title`, `post_type` | |
| FROM `wp_posts` | |
| WHERE `post_type` NOT IN ('post','page','attachment','revision','nav_menu_item','custom_css','customize_changeset') | |
| LIMIT 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment