Automattic\WooCommerce\Internal\Fulfillments\Providers
FedExShippingProvider::get_icon
Gets the path to the provider's icon.
Method of the class: FedExShippingProvider{}
No Hooks.
Returns
String. URL to the FedEx logo image.
Usage
$FedExShippingProvider = new FedExShippingProvider(); $FedExShippingProvider->get_icon(): string;
FedExShippingProvider::get_icon() FedExShippingProvider::get icon code WC 10.3.3
public function get_icon(): string {
return esc_url( WC()->plugin_url() ) . '/assets/images/shipping_providers/fedex.png';
}