Automattic\WooCommerce\Internal\Fulfillments\Providers

EvriHermesShippingProvider::get_shipping_from_countriespublicWC 1.0

Get the countries this shipping provider can ship from.

Method of the class: EvriHermesShippingProvider{}

No Hooks.

Returns

Array. List of country codes.

Usage

$EvriHermesShippingProvider = new EvriHermesShippingProvider();
$EvriHermesShippingProvider->get_shipping_from_countries(): array;

EvriHermesShippingProvider::get_shipping_from_countries() code WC 10.3.3

public function get_shipping_from_countries(): array {
	// Evri (formerly Hermes UK) primarily operates from the UK only.
	return array( 'GB' );
}