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

WC_Shipping_Legacy_International_Delivery::__construct() public WC 1.0

Constructor.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WC_Shipping_Legacy_International_Delivery = new WC_Shipping_Legacy_International_Delivery();
$WC_Shipping_Legacy_International_Delivery->__construct();

Код WC_Shipping_Legacy_International_Delivery::__construct() WC 4.7.1

<?php
public function __construct() {
	$this->id           = 'legacy_international_delivery';
	$this->method_title = __( 'International flat rate (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>';
	$this->init();

	add_action( 'woocommerce_update_options_shipping_' . $this->id, array( $this, 'process_admin_options' ) );
}