WC_Order_Item_Product::get_type()publicWC 1.0

Get order item type.

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

No Hooks.

Return

String.

Usage

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

Code of WC_Order_Item_Product::get_type() WC 6.9.4

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