Automattic\WooCommerce\Admin\Features\Fulfillments\Providers

AmazonLogisticsShippingProvider::get_shipping_to_countries │ public │ WC 1.0

Gets the list of destination countries supported by Amazon Logistics.

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

Хуков нет.

Возвращает

array<string>. Array of country codes.

Использование

$AmazonLogisticsShippingProvider = new AmazonLogisticsShippingProvider();
$AmazonLogisticsShippingProvider->get_shipping_to_countries(): array;

Код AmazonLogisticsShippingProvider::get_shipping_to_countries() WC 11.2.2

public function get_shipping_to_countries(): array {
	return $this->operating_countries;
}