Automattic\WooCommerce\Internal\PushNotifications\Services

PendingNotificationStore::countpublicWC 10.7.0

Returns the number of pending notifications.

Метод класса: PendingNotificationStore{}

Хуков нет.

Возвращает

int.

Использование

$PendingNotificationStore = new PendingNotificationStore();
$PendingNotificationStore->count(): int;

Список изменений

С версии 10.7.0 Введена.

Код PendingNotificationStore::count() WC 11.0.1

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