Automattic\WooCommerce\Admin\Features\Fulfillments\Providers
AmazonLogisticsShippingProvider::get_shipping_from_countries
Gets the list of origin countries supported by Amazon Logistics.
Метод класса: AmazonLogisticsShippingProvider{}
Хуков нет.
Возвращает
array<string>. Array of country codes.
Использование
$AmazonLogisticsShippingProvider = new AmazonLogisticsShippingProvider(); $AmazonLogisticsShippingProvider->get_shipping_from_countries(): array;
Код AmazonLogisticsShippingProvider::get_shipping_from_countries() AmazonLogisticsShippingProvider::get shipping from countries WC 11.2.2
public function get_shipping_from_countries(): array {
return $this->operating_countries;
}