Automattic\WooCommerce\Blocks\Payments\Integrations

BankTransfer::get_payment_method_script_handles()publicWC 1.0

Returns an array of scripts/handles to be registered for this payment method.

Method of the class: BankTransfer{}

No Hooks.

Return

Array.

Usage

$BankTransfer = new BankTransfer();
$BankTransfer->get_payment_method_script_handles();

BankTransfer::get_payment_method_script_handles() code WC 9.0.1

public function get_payment_method_script_handles() {
	$this->asset_api->register_script(
		'wc-payment-method-bacs',
		'assets/client/blocks/wc-payment-method-bacs.js'
	);
	return [ 'wc-payment-method-bacs' ];
}