WC_Order_Item_Shipping::get_type │ public │ WC 1.0

Get order item type.

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

Хуков нет.

Возвращает

string.

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

$WC_Order_Item_Shipping = new WC_Order_Item_Shipping();
$WC_Order_Item_Shipping->get_type();

Код WC_Order_Item_Shipping::get_type() WC 11.3.0

public function get_type() {
	return 'shipping';
}