Automattic\WooCommerce\Internal\Fulfillments\Providers
UrgentCargusShippingProvider::get_icon
Get the icon of the shipping provider.
Method of the class: UrgentCargusShippingProvider{}
No Hooks.
Returns
String.
Usage
$UrgentCargusShippingProvider = new UrgentCargusShippingProvider(); $UrgentCargusShippingProvider->get_icon(): string;
UrgentCargusShippingProvider::get_icon() UrgentCargusShippingProvider::get icon code WC 10.3.3
public function get_icon(): string {
return esc_url( WC()->plugin_url() ) . '/assets/images/shipping_providers/urgent-cargus.png';
}