Automattic\WooCommerce\Internal\Fulfillments\Providers

DHLShippingProvider::get_iconpublicWC 1.0

Gets the path to the provider's icon.

Method of the class: DHLShippingProvider{}

No Hooks.

Returns

String. URL to the DHL logo image.

Usage

$DHLShippingProvider = new DHLShippingProvider();
$DHLShippingProvider->get_icon(): string;

DHLShippingProvider::get_icon() code WC 10.3.3

public function get_icon(): string {
	return esc_url( WC()->plugin_url() ) . '/assets/images/shipping_providers/dhl.png';
}