dequeue beaver buillder script wordpress
In your WordPress theme's functions.php file, use the
wp_dequeue_script
function to dequeue the Beaver Builder's script.The script handle for Beaver Builder is
fl-builder-layout-js
.Add the following code to your functions.php file:
function dequeue_beaver_builder_script() {
wp_dequeue_script('fl-builder-layout-js');
}
add_action('wp_enqueue_scripts', 'dequeue_beaver_builder_script', 999);
- Save the functions.php file and clear any cache to ensure the changes take effect.