Automattic\WooCommerce\Internal\PushNotifications\Services
PendingNotificationStore::count
Returns the number of pending notifications.
Method of the class: PendingNotificationStore{}
No Hooks.
Returns
Int.
Usage
$PendingNotificationStore = new PendingNotificationStore(); $PendingNotificationStore->count(): int;
Changelog
| Since 10.7.0 | Introduced. |
PendingNotificationStore::count() PendingNotificationStore::count code WC 10.7.0
public function count(): int {
return count( $this->pending );
}