Created
June 6, 2014 05:21
-
-
Save markbain/c96db4053ea7534b5591 to your computer and use it in GitHub Desktop.
Update the name of a WordPress custom taxonomy in the database
This file contains 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_term_taxonomy' SET 'taxonomy' = 'NEW_TAX_NAME' WHERE 'taxonomy' = 'OLD_TAX_NAME'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment