# clanbite_forums_allow_topic_reaction

Filters whether a user may apply a reaction to a topic.

```php
apply_filters( 'clanbite_forums_allow_topic_reaction', bool $allow, string $slug, int $topic_id, int $forum_id, int $user_id )
```

## Parameters

- `$allow` (bool) Whether the reaction is allowed (default true).
- `$slug` (string) Reaction type slug.
- `$topic_id` (int) Topic ID.
- `$forum_id` (int) Forum ID.
- `$user_id` (int) User ID.
