Last active
August 3, 2020 20:11
-
-
Save joshhartman/d308670524b2b7449235de2dab213368 to your computer and use it in GitHub Desktop.
Disable specific WordPress shortcodes when editing with Beaver Builder
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 | |
function shortcode_compatibility_bb_fix() { | |
if ( FLBuilderModel::is_builder_active() ) { | |
remove_shortcode( 'team-members' ); | |
} | |
} | |
add_action( 'wp', 'shortcode_compatibility_bb_fix' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment