# clanbite_forums_user_can_delete_topic()

Whether the user may trash/delete a topic.

```php
clanbite_forums_user_can_delete_topic( int $user_id, object $topic ): bool
```

## Parameters

- `$user_id` (int) WordPress user ID.
- `$topic` (object) Topic row.

## Return

`bool`
