WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

PayPal::get_payment_method_script_handles() public WC 1.0

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

{} It's a method of the class: PayPal{}

No Hooks.

Return

Array.

Usage

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

Code of PayPal::get_payment_method_script_handles() WC 5.9.0

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