Automattic\WooCommerce\Internal\Fulfillments\Providers
DPDShippingProvider::get_shipping_to_countries
Get the countries this shipping provider can ship to.
DPD typically ships within Europe, so we return the same countries as shipping from.
Method of the class: DPDShippingProvider{}
No Hooks.
Returns
Array. List of country codes.
Usage
$DPDShippingProvider = new DPDShippingProvider(); $DPDShippingProvider->get_shipping_to_countries(): array;
DPDShippingProvider::get_shipping_to_countries() DPDShippingProvider::get shipping to countries code WC 10.3.3
public function get_shipping_to_countries(): array {
return $this->get_shipping_from_countries();
}