Skip to content

Instantly share code, notes, and snippets.

@azamatx
Created November 22, 2024 08:27
Show Gist options
  • Save azamatx/da41cc3c29750f56ca18648cc406df22 to your computer and use it in GitHub Desktop.
Save azamatx/da41cc3c29750f56ca18648cc406df22 to your computer and use it in GitHub Desktop.
WP CLI search & replace
wp search-replace 'Places' 'Waters' --all-tables --precise
wp search-replace 'places' 'waters' --all-tables --precise
wp search-replace 'Place' 'Water' --all-tables --precise
wp search-replace 'place' 'water' --all-tables --precise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment