Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save assoscoupa/5ad9ef49ce13ca96f35b82322432e480 to your computer and use it in GitHub Desktop.
Save assoscoupa/5ad9ef49ce13ca96f35b82322432e480 to your computer and use it in GitHub Desktop.
Remove string from wordpress post with SQL query
// Όταν θέλω να αφαιρέσω πχ το {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