# Reaction_Registry::allow_reaction()

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

```php
allow_reaction( string $slug, int $post_id, int $user_id ): bool
```

## Parameters

- `$slug` (string) Sanitized slug.
- `$post_id` (int) Social post ID.
- `$user_id` (int) User ID.

## Return

`bool`
