Last active
August 29, 2015 13:57
-
-
Save bmoredrew/9717783 to your computer and use it in GitHub Desktop.
Update Custom Post Type After Slug Change
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
UPDATE wp_posts SET post_type = REPLACE(post_type,'old','new'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment