Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions

DefaultPaymentGateways::get_wcpay_countriespublic staticWC 1.0

Get array of countries supported by WCPay depending on feature flag.

Method of the class: DefaultPaymentGateways{}

No Hooks.

Returns

Array. Array of countries.

Usage

$result = DefaultPaymentGateways::get_wcpay_countries();

DefaultPaymentGateways::get_wcpay_countries() code WC 10.7.0

public static function get_wcpay_countries() {
	return array( 'US', 'PR', 'AU', 'CA', 'CY', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'IE', 'IT', 'LU', 'LT', 'LV', 'NO', 'NZ', 'MT', 'AT', 'BE', 'NL', 'PL', 'PT', 'CH', 'HK', 'SI', 'SK', 'SG', 'BG', 'CZ', 'HR', 'HU', 'RO', 'SE', 'JP', 'AE' );
}