beaverbuilder
2/12/2018 - 3:37 PM

Kleo Theme Fix

This snippet is used on the following knowledge base article - kb.wpbeaverbuilder.com/article/42-known-page-builder-incompatibilities

<?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' );
    }
}