WordPress at Your Fingertips
function is not described

WC_Order_Item_Coupon::get_type() public WC 1.0

Get order item type.

{} It's a method of the class: WC_Order_Item_Coupon{}

No Hooks.

Return

String.

Usage

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

Code of WC_Order_Item_Coupon::get_type() WC 5.8.0

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