Automattic\WooCommerce\Internal\PushNotifications\Services
PendingNotificationStore::get_all
Returns all pending notifications.
Метод класса: PendingNotificationStore{}
Хуков нет.
Возвращает
Notification[].
Использование
$PendingNotificationStore = new PendingNotificationStore(); $PendingNotificationStore->get_all(): array;
Список изменений
| С версии 10.7.0 | Введена. |
Код PendingNotificationStore::get_all() PendingNotificationStore::get all WC 11.0.1
public function get_all(): array {
return array_values( $this->pending );
}