# Data_Access::toggle_like()

Back-compat: toggle the `like` reaction only.

```php
toggle_like( int $post_id, int $user_id ): array
```

## Parameters

- `$post_id` (int) Post ID.
- `$user_id` (int) User ID.

## Return

`array{liked: bool, count: int}`
