Clanbite Forums

clanbite_forums_board_flatten_reply_rows_for_page( array $flat_replies ): array<int, array<string, mixed>>

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

Namespace: Kernowdev\ClanbiteForums

Parameters

$flat_replies (array<int, array<string, mixed>>) Required

Reply objects from REST.

Returns

array<int, array<string, mixed>>

Defined in inc/forums-board-ssr.php