# Data_Access::get_comment_reaction_summaries_for_comments()

Batch reaction summaries for many comments (feed / thread).

```php
get_comment_reaction_summaries_for_comments( array $comment_ids, int $viewer_id ): array
```

## Parameters

- `$comment_ids` (int[]) Comment PKs.
- `$viewer_id` (int) Current user (0 = guest).

## Return

`array<int, array{counts: array<string, int>, user_slugs: string[], reactor_user_ids: array<string, int[]>}>`
