Last active
May 18, 2020 12:35
-
-
Save assoscoupa/5ad9ef49ce13ca96f35b82322432e480 to your computer and use it in GitHub Desktop.
Remove string from wordpress post with SQL query
This file contains 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
// Όταν θέλω να αφαιρέσω πχ το {loadposition banner_con} | |
// Info: https://digwp.com/2010/03/remove-replace-content-wordpress-database/ | |
UPDATE rg_posts SET post_content = REPLACE ( post_content, '{loadposition banner_con}', '' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment