WordPress at a glance
function is not described

WC_Order_Item_Data_Store_Interface::get_order_id_by_order_item_id() public WC 1.0

Get order ID by order item ID.

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

No Hooks.

Return

Int.

Usage

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

Code of WC_Order_Item_Data_Store_Interface::get_order_id_by_order_item_id() WC 5.0.0

<?php
public function get_order_id_by_order_item_id( $item_id );