Automattic\WooCommerce\Blocks\Payments\Integrations
Cheque::get_payment_method_script_handles() public WC 1.0
Returns an array of scripts/handles to be registered for this payment method.
{} Это метод класса: Cheque{}
Хуков нет.
Возвращает
Массив
. Null. Ничего.
Использование
$Cheque = new Cheque(); $Cheque->get_payment_method_script_handles();
Код Cheque::get_payment_method_script_handles() Cheque::get payment method script handles WC 5.1.0
public function get_payment_method_script_handles() {
$this->asset_api->register_script(
'wc-payment-method-cheque',
'build/wc-payment-method-cheque.js'
);
return [ 'wc-payment-method-cheque' ];
}