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

WC_Shipping_Free_Shipping::__construct() public WC 1.0

Constructor.

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

Хуков нет.

Возвращает

Null. Ничего.

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

$WC_Shipping_Free_Shipping = new WC_Shipping_Free_Shipping();
$WC_Shipping_Free_Shipping->__construct( $instance_id );
$instance_id(число)
Shipping method instance.
По умолчанию: 0

Код WC_Shipping_Free_Shipping::__construct() WC 4.7.1

<?php
public function __construct( $instance_id = 0 ) {
	$this->id                 = 'free_shipping';
	$this->instance_id        = absint( $instance_id );
	$this->method_title       = __( 'Free shipping', 'woocommerce' );
	$this->method_description = __( 'Free shipping is a special method which can be triggered with coupons and minimum spends.', 'woocommerce' );
	$this->supports           = array(
		'shipping-zones',
		'instance-settings',
		'instance-settings-modal',
	);

	$this->init();
}