Automattic\WooCommerce\Internal\PushNotifications\Services
PendingNotificationStore::get_all
Returns all pending notifications.
Method of the class: PendingNotificationStore{}
No Hooks.
Returns
Notification[].
Usage
$PendingNotificationStore = new PendingNotificationStore(); $PendingNotificationStore->get_all(): array;
Changelog
| Since 10.7.0 | Introduced. |
PendingNotificationStore::get_all() PendingNotificationStore::get all code WC 10.7.0
public function get_all(): array {
return array_values( $this->pending );
}