Skip to content

Instantly share code, notes, and snippets.

@anton-roos
Last active May 25, 2020 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anton-roos/9c7ed3cb843947f90cd0462a16d41f7c to your computer and use it in GitHub Desktop.
Save anton-roos/9c7ed3cb843947f90cd0462a16d41f7c to your computer and use it in GitHub Desktop.
Update text in WooCommerce Database
UPDATE `wp_cf7dbplugin_submits`
SET `field_name` = REPLACE(`field_name`, 'tel-123', 'tel-576')
WHERE `field_name` LIKE 'tel-123%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment