Automattic\WooCommerce\Internal\PushNotifications\Services

PendingNotificationStore::count │ public │ WC 10.7.0

Returns the number of pending notifications.

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

Хуков нет.

Возвращает

int.

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

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

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

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

Код PendingNotificationStore::count() WC 11.2.2

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