# clanbite_match_rest_prepare

Filter: `clanbite_match_rest_prepare` — shaped match row for REST (`collection` or `single`).

```php
apply_filters( 'clanbite_match_rest_prepare', array<string, mixed> $item, WP_Post $post, WP_REST_Request $request, string $context )
```

## Parameters

- `$item` (array<string, mixed>) Row data.
- `$post` (WP_Post) Match post.
- `$request` (WP_REST_Request) Request instance.
- `$context` (string) `collection` or `single`.
