Automattic\WooCommerce\Blocks\BlockTypes

Checkout::dequeue_woocommerce_core_scripts()publicWC 1.0

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

Метод класса: Checkout{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код Checkout::dequeue_woocommerce_core_scripts() WC 9.4.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' );
}