Automattic\WooCommerce\Admin\Features\Fulfillments\Providers

DHLShippingProvider::get_icon │ public │ WC 1.0

Gets the path to the provider's icon.

Метод класса: DHLShippingProvider{}

Хуков нет.

Возвращает

string. URL to the DHL logo image.

Использование

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

Код DHLShippingProvider::get_icon() WC 11.1.2

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