# Data_Access::get_reaction_counts_by_post()

Counts per reaction_type for one post.

```php
get_reaction_counts_by_post( int $post_id ): array
```

## Parameters

- `$post_id` (int) Post ID.

## Return

`array<string, int>`
