Automattic\WooCommerce\Admin\Features\Fulfillments\Providers

DHLShippingProvider::get_icon │ public │ WC 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 11.2.1

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