WC_Shipping_Method::get_instance_id()publicWC 2.6.0

Return the shipping method instance ID.

Метод класса: WC_Shipping_Method{}

Хуков нет.

Возвращает

int.

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

$WC_Shipping_Method = new WC_Shipping_Method();
$WC_Shipping_Method->get_instance_id();

Список изменений

С версии 2.6.0 Введена.

Код WC_Shipping_Method::get_instance_id() WC 8.7.0

public function get_instance_id() {
	return $this->instance_id;
}