-
-
Save brc75/c6c6602a1698fa315e6ae8c45b8b51a5 to your computer and use it in GitHub Desktop.
remove fusion builder shortcodes
This file contains hidden or 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