# clanbite_notification_poll_blocking_wait

Filters whether `/notifications/poll` may sleep in a loop until it times out or new items arrive (long-polling).

```php
apply_filters( 'clanbite_notification_poll_blocking_wait', bool $blocking, int $user_id )
```

## Parameters

- `$blocking` (bool) Defaults to the Notifications setting `poll_long_polling`.
- `$user_id` (int) Polling user ID.

## Changelog

| Version | Description |
| --- | --- |
| 1.3.0 | Updated |
