Automattic\WooCommerce\Blocks\BlockTypes
Cart::dequeue_woocommerce_core_scripts()
Dequeues the scripts added by WC Core to the Cart page.
Method of the class: Cart{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Cart = new Cart(); $Cart->dequeue_woocommerce_core_scripts();
Cart::dequeue_woocommerce_core_scripts() Cart::dequeue woocommerce core scripts code WC 9.6.1
public function dequeue_woocommerce_core_scripts() { wp_dequeue_script( 'wc-cart' ); wp_dequeue_script( 'wc-password-strength-meter' ); wp_dequeue_script( 'selectWoo' ); wp_dequeue_style( 'select2' ); }