# clanbite_forums_topic_action_menu_items()

Build filterable menu items for a topic (list row or thread opening post).

Each item: `id` (string), `label` (string), `enabled` (bool), `variant` (`default`|`danger`).

```php
clanbite_forums_topic_action_menu_items( object $topic, object $forum, int $viewer_id, string $context ): array
```

## Parameters

- `$topic` (object) Topic row.
- `$forum` (object) Forum row.
- `$viewer_id` (int) Current user ID (0 = guest).
- `$context` (string) `topic_list` or `thread_op`.

## Return

`list<array{id: string, label: string, enabled: bool, variant: string}>`
