Created
July 23, 2017 21:52
-
-
Save cagrimmett/b602d8c5d6939ae05da55ae344d0f836 to your computer and use it in GitHub Desktop.
SQL query to replace text on WordPress sites
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_posts SET post_content = REPLACE(post_content, 'FIND', 'REPLACE'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment