WC_Order_Item_Data_Store_Interface::get_order_item_typepublicWC 1.0

Get the order item type based on Item ID.

Method of the class: WC_Order_Item_Data_Store_Interface{}

No Hooks.

Returns

String.

Usage

$WC_Order_Item_Data_Store_Interface = new WC_Order_Item_Data_Store_Interface();
$WC_Order_Item_Data_Store_Interface->get_order_item_type( $item_id );
$item_id(int) (required)
Item ID.

WC_Order_Item_Data_Store_Interface::get_order_item_type() code WC 10.5.0

public function get_order_item_type( $item_id );