Skip to content

Instantly share code, notes, and snippets.

@carmolim
Created October 17, 2016 18:07
Show Gist options
  • Select an option

  • Save carmolim/3e50ab2770417744f76c160c5b2d8075 to your computer and use it in GitHub Desktop.

Select an option

Save carmolim/3e50ab2770417744f76c160c5b2d8075 to your computer and use it in GitHub Desktop.
Find and Replace in post_content
UPDATE wp_posts SET post_content = REPLACE (
post_content,
'Item to replace here',
'Replacement text here');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment