Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions

DefaultPaymentGateways::get_wcpay_countries()public staticWC 1.0

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

Method of the class: DefaultPaymentGateways{}

No Hooks.

Return

Array. Array of countries.

Usage

$result = DefaultPaymentGateways::get_wcpay_countries();

DefaultPaymentGateways::get_wcpay_countries() code WC 8.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' );
}