Automattic\WooCommerce\Internal\PushNotifications\Services

PendingNotificationStore::countpublicWC 10.7.0

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() code WC 10.7.0

public function count(): int {
	return count( $this->pending );
}