Skip to content

Instantly share code, notes, and snippets.

@jennimckinnon
Created June 18, 2015 08:22
Show Gist options
  • Save jennimckinnon/a241ae841dee886e37f0 to your computer and use it in GitHub Desktop.
Save jennimckinnon/a241ae841dee886e37f0 to your computer and use it in GitHub Desktop.
Delete a shortcode in WordPress.
UPDATE wp_post SET post_content = replace(post_content, '[your-shortcode]', '' ) ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment