Automattic\WooCommerce\Blocks\BlockTypes
Checkout::dequeue_woocommerce_core_scripts()
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() 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' ); }