WordPress at Your Fingertips
function is not described

WC_Abstract_Order_Data_Store_Interface::read_items() public WC 1.0

Read order items of a specific type from the database for this order.

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

No Hooks.

Return

Array.

Usage

$WC_Abstract_Order_Data_Store_Interface = new WC_Abstract_Order_Data_Store_Interface();
$WC_Abstract_Order_Data_Store_Interface->read_items( $order, $type );
$order(WC_Order) (required)
Order object.
$type(string) (required)
Order item type.

Code of WC_Abstract_Order_Data_Store_Interface::read_items() WC 5.7.1

public function read_items( $order, $type );