# Reaction_Registry::allow_topic_reaction()

Whether toggling this reaction on a topic is allowed (after registration check).

```php
allow_topic_reaction( string $slug, int $topic_id, int $forum_id, int $user_id ): bool
```

## Parameters

- `$slug` (string) Sanitized slug.
- `$topic_id` (int) Topic ID.
- `$forum_id` (int) Forum ID.
- `$user_id` (int) User ID.

## Return

`bool`
