WordPress at Your Fingertips
function is not described

WC_Admin_Setup_Wizard::is_paypal_supported_currency() protected WC 1.0

Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Is PayPal currency supported.

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

No Hooks.




// protected - for code of main (parent) or child class
$result = $this->is_paypal_supported_currency( $currency );
$currency(string) (required)
Currency code.


Deprecated 4.6.0

Code of WC_Admin_Setup_Wizard::is_paypal_supported_currency() WC 5.9.0

protected function is_paypal_supported_currency( $currency ) {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	$supported_currencies = array(
	return in_array( $currency, $supported_currencies, true );