Created
April 6, 2017 03:11
-
-
Save bpmore/85f5a32096218382fbb946d1f1166fb5 to your computer and use it in GitHub Desktop.
remove fusion builder shortcodes
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
<?php | |
add_filter('the_content', 'remove_fusion_shortcodes', 20, 1); | |
function remove_fusion_shortcodes( $content ) { | |
$content = preg_replace('/\[\/?fusion.*?\]/', '', $content); | |
return $content; | |
} | |
?> | |
**Tested with WP All Import and Export** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello lucagiai,
It's not the best place to look for this kind of help, you should go to a forum rather than on GitHub.
But if you want to use this code, you should copy the code between the tags and past it inside your child theme's function.php file.
Have fun
Thomas