Skip to content

Instantly share code, notes, and snippets.

@fieldoffice
Last active December 17, 2015 20:18
Show Gist options
  • Save fieldoffice/5666293 to your computer and use it in GitHub Desktop.
Save fieldoffice/5666293 to your computer and use it in GitHub Desktop.
Search and replace WordPress Post Content
UPDATE wp_posts SET 'post_content'
= REPLACE ('post_content',
'OriginalText',
'ReplacedText');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment