Skip to content

Instantly share code, notes, and snippets.

@markbain
Created June 6, 2014 05:21
Show Gist options
  • Save markbain/c96db4053ea7534b5591 to your computer and use it in GitHub Desktop.
Save markbain/c96db4053ea7534b5591 to your computer and use it in GitHub Desktop.
Update the name of a WordPress custom taxonomy in the database
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