WC_Order_Item_Coupon::get_type
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 Order Item Coupon::get type WC 11.2.2
public function get_type() {
return 'coupon';
}