# clanbite_matches_rest_collection_data

Filter: `clanbite_matches_rest_collection_data` — JSON body for `GET clanbite/v1/matches` before encoding.

```php
apply_filters( 'clanbite_matches_rest_collection_data', array<string, mixed> $body, WP_REST_Request $request )
```

## Parameters

- `$body` (array<string, mixed>) Keys: `matches`, `total`, `pages`.
- `$request` (WP_REST_Request) REST request instance.
