Automattic\WooCommerce\Internal\ShopperLists

ShopperList::get_itemspublicWC 1.0

Get all items currently in the list.

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

Хуков нет.

Возвращает

Массив<Строку,. ShopperListItem>

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

$ShopperList = new ShopperList();
$ShopperList->get_items(): array;

Код ShopperList::get_items() WC 10.9.1

public function get_items(): array {
	return $this->items;
}