Automattic\WooCommerce\Internal\Fulfillments\Providers

DPDShippingProvider::get_shipping_to_countriespublicWC 1.0

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() code WC 10.3.3

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