WC_Order_Item_Coupon::get_type │ public │ WC 1.0

Get order item type.

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

Хуков нет.

Возвращает

string.

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

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

Код WC_Order_Item_Coupon::get_type() WC 11.2.2

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