WC_Abstract_Order_Data_Store_Interface::read_items()publicWC 1.0

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

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

Хуков нет.

Возвращает

Массив.

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

$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 8.7.0

public function read_items( $order, $type );