Automattic\WooCommerce\Internal\PushNotifications\Services
PendingNotificationStore::count
Returns the number of pending notifications.
Метод класса: PendingNotificationStore{}
Хуков нет.
Возвращает
int.
Использование
$PendingNotificationStore = new PendingNotificationStore(); $PendingNotificationStore->count(): int;
Список изменений
| С версии 10.7.0 | Введена. |
Код PendingNotificationStore::count() PendingNotificationStore::count WC 11.0.1
public function count(): int {
return count( $this->pending );
}