WordPress at Your Fingertips
function is not described

WC_Order_Item::get_order() public WC 1.0

Get parent order object.

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

No Hooks.

Return

WC_Order.

Usage

$WC_Order_Item = new WC_Order_Item();
$WC_Order_Item->get_order();

Code of WC_Order_Item::get_order() WC 5.7.1

public function get_order() {
	return wc_get_order( $this->get_order_id() );
}