Warning: This method has been deprecated.
WC_Admin_Setup_Wizard::is_paypal_supported_currency( string $currency )
Is PayPal currency supported.
Description Description
Parameters Parameters
- $currency
-
(Required) Currency code.
Return Return
(boolean)
Source Source
File: includes/admin/class-wc-admin-setup-wizard.php
protected function is_paypal_supported_currency( $currency ) { $supported_currencies = array( 'AUD', 'BRL', 'CAD', 'MXN', 'NZD', 'HKD', 'SGD', 'USD', 'EUR', 'JPY', 'TRY', 'NOK', 'CZK', 'DKK', 'HUF', 'ILS', 'MYR', 'PHP', 'PLN', 'SEK', 'CHF', 'TWD', 'THB', 'GBP', 'RMB', 'RUB', 'INR', ); return in_array( $currency, $supported_currencies, true ); }
Changelog Changelog
Version | Description |
---|---|
4.6.0 | Introduced. |