Automattic\WooCommerce\Internal\ShopperLists
ShopperList::get_items
Get all items currently in the list.
Метод класса: ShopperList{}
Хуков нет.
Возвращает
array<string, ShopperListItem>.
Использование
$ShopperList = new ShopperList(); $ShopperList->get_items(): array;
Код ShopperList::get_items() ShopperList::get items WC 11.2.2
public function get_items(): array {
return $this->items;
}