Automattic\WooCommerce\Internal\Fulfillments\Providers

AmazonLogisticsShippingProvider::get_iconpublicWC 1.0

Gets the path to the provider's icon.

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

Хуков нет.

Возвращает

Строку. URL to the Amazon Logistics logo image.

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

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

Код AmazonLogisticsShippingProvider::get_icon() WC 10.3.6

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