WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Shipping_Legacy_Local_Pickup::__construct() public WC 1.0


{} Это метод класса: WC_Shipping_Legacy_Local_Pickup{}

Хуков нет.


null. Ничего.


$WC_Shipping_Legacy_Local_Pickup = new WC_Shipping_Legacy_Local_Pickup();

Код WC_Shipping_Legacy_Local_Pickup::__construct() WC 6.1.1

public function __construct() {
	$this->id           = 'legacy_local_pickup';
	$this->method_title = __( 'Local pickup (legacy)', 'woocommerce' );
	/* translators: %s: Admin shipping settings URL */
	$this->method_description = '<strong>' . sprintf( __( 'This method is deprecated in 2.6.0 and will be removed in future versions - we recommend disabling it and instead setting up a new rate within your <a href="%s">Shipping zones</a>.', 'woocommerce' ), admin_url( 'admin.php?page=wc-settings&tab=shipping' ) ) . '</strong>';