# clanbite_forums_topic_reaction_toggled

Fires after a forum topic reaction is toggled.

```php
do_action( 'clanbite_forums_topic_reaction_toggled', int $topic_id, int $user_id, string $reaction_type, bool $active )
```

## Parameters

- `$topic_id` (int) Topic ID.
- `$user_id` (int) User ID.
- `$reaction_type` (string) Sanitized slug.
- `$active` (bool) Whether the reaction is now present.
