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.

Метод класса: WC_Abstract_Order_Data_Store_Interface{}

Хуков нет.

Возвращает

array.

Использование

$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) (обязательный)
Order object.
$type(строка) (обязательный)
Order item type.

Код WC_Abstract_Order_Data_Store_Interface::read_items() WC 11.2.2

public function read_items( $order, $type );