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