WordPress at Your Fingertips
function is not described

WC_Order_Item_Data_Store_Interface::get_order_item_type() public WC 1.0

Get the order item type based on Item ID.

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

No Hooks.

Return

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.

Code of WC_Order_Item_Data_Store_Interface::get_order_item_type() WC 5.8.0

public function get_order_item_type( $item_id );