Automattic\WooCommerce\Blocks\BlockTypes

Checkout::dequeue_woocommerce_core_scripts()publicWC 1.0

Dequeues the scripts added by WC Core to the Checkout page.

Method of the class: Checkout{}

No Hooks.

Return

null. Nothing (null).

Usage

$Checkout = new Checkout();
$Checkout->dequeue_woocommerce_core_scripts();

Checkout::dequeue_woocommerce_core_scripts() code WC 9.8.2

public function dequeue_woocommerce_core_scripts() {
	wp_dequeue_script( 'wc-checkout' );
	wp_dequeue_script( 'wc-password-strength-meter' );
	wp_dequeue_script( 'selectWoo' );
	wp_dequeue_style( 'select2' );
}