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.


Top ↑

Return Return

(boolean)


Top ↑

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 );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.