Last active
August 24, 2018 20:42
-
-
Save beaverbuilder/08d1b398f5dd252f0830cd69506150e2 to your computer and use it in GitHub Desktop.
This snippet is used on the following knowledge base article - kb.wpbeaverbuilder.com/article/42-known-page-builder-incompatibilities
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 // do not copy this line, start with line 3 | |
add_action( 'wp_enqueue_scripts', 'bb_custom_enqueue_scripts', 99 ); | |
function bb_custom_enqueue_scripts(){ | |
if ( class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_active() ) { | |
wp_deregister_script( 'app' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment