Automattic\WooCommerce\Internal\ShopperLists

ShopperList::get_items │ public │ WC 1.0

Get all items currently in the list.

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

Хуков нет.

Возвращает

array<string, ShopperListItem>.

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

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

Код ShopperList::get_items() WC 11.2.2

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