Automattic\WooCommerce\Internal\DataStores\Orders

OrdersTableDataStore::get_order_item_type()publicWC 1.0

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

No Hooks.

Return

null. Nothing.

Usage

$OrdersTableDataStore = new OrdersTableDataStore();
$OrdersTableDataStore->get_order_item_type( $order, $order_item_id );
$order (required)
-
$order_item_id (required)
-

Code of OrdersTableDataStore::get_order_item_type() WC 6.6.1

public function get_order_item_type( $order, $order_item_id ) {
	return 'line_item';
}