dequeue beaver buillder script wordpress

  1. In your WordPress theme's functions.php file, use the wp_dequeue_script function to dequeue the Beaver Builder's script.

  2. The script handle for Beaver Builder is fl-builder-layout-js.

  3. 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);
  1. Save the functions.php file and clear any cache to ensure the changes take effect.