Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions

DefaultPaymentGateways::get_wcpay_countries()public staticWC 1.0

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

Метод класса: DefaultPaymentGateways{}

No Hooks.

Return

Array. Array of countries.

Usage

$result = DefaultPaymentGateways::get_wcpay_countries();

Code of DefaultPaymentGateways::get_wcpay_countries() WC 7.1.0

public static function get_wcpay_countries() {
	return array( 'US', 'PR', 'AU', 'CA', 'DE', 'ES', 'FR', 'GB', 'IE', 'IT', 'NZ', 'AT', 'BE', 'NL', 'PL', 'PT', 'CH', 'HK', 'SG' );
}