Skip to content

Instantly share code, notes, and snippets.

@yellowberri-snippets
Created September 25, 2014 19:45
Show Gist options
  • Save yellowberri-snippets/2e5a627975a37ff04888 to your computer and use it in GitHub Desktop.
Save yellowberri-snippets/2e5a627975a37ff04888 to your computer and use it in GitHub Desktop.
WP: SQL: Rename Custom Post Types
UPDATE `<wp_posts SQL Row>`
SET `post_type` = '<new post type name>'
WHERE `post_type` = '<old post type name>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment