Файловый менеджер - Редактировать - /home/harasnat/www/horse/wp-content/plugins/woocommerce/src/Internal/Fulfillments/Providers/ParcelForceShippingProvider.php
Назад
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Internal\Fulfillments\Providers; /** * Parcelforce Shipping Provider class. */ class ParcelForceShippingProvider extends AbstractShippingProvider { /** * Get the key of the shipping provider. * * @return string */ public function get_key(): string { return 'parcelforce'; } /** * Get the name of the shipping provider. * * @return string */ public function get_name(): string { return 'Parcelforce'; } /** * Get the icon of the shipping provider. * * @return string */ public function get_icon(): string { return esc_url( WC()->plugin_url() ) . '/assets/images/shipping_providers/parcelforce.png'; } /** * Get the tracking URL for a given tracking number. * * @param string $tracking_number The tracking number. * @return string The tracking URL. */ public function get_tracking_url( string $tracking_number ): string { return 'https://www.parcelforce.com/track-trace/' . $tracking_number; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка