Automattic\WooCommerce\Blocks\Payments\Integrations
Cheque::get_payment_method_script_handles()
Returns an array of scripts/handles to be registered for this payment method.
Method of the class: Cheque{}
No Hooks.
Return
Array
.
Usage
$Cheque = new Cheque(); $Cheque->get_payment_method_script_handles();
Cheque::get_payment_method_script_handles() Cheque::get payment method script handles code WC 8.7.0
public function get_payment_method_script_handles() { $this->asset_api->register_script( 'wc-payment-method-cheque', 'assets/client/blocks/wc-payment-method-cheque.js' ); return [ 'wc-payment-method-cheque' ]; }