# clanbite_forums_board_flatten_reply_rows_for_page()

Flatten reply rows with parent_id into display rows with depth (matches client flattenReplyTree for one page).

```php
clanbite_forums_board_flatten_reply_rows_for_page( array $flat_replies ): array
```

## Parameters

- `$flat_replies` (array<int, array<string, mixed>>) Reply objects from REST.

## Return

`array<int, array<string, mixed>>`
