Clanbite Forums

parse_router_segments_from_request(  ): array{ forum: string, topic: string, reply: int }|null

Parse forum / topic / reply segments from the current request path when it matches the router base.

Used by parse_request fallback and by the board block render so deep links survive a full refresh even when primary query vars are not yet populated.

public static

Class: Kernowdev\ClanbiteForums\Routing\Pretty_Routes

Returns

array{ forum: string, topic: string, reply: int }|null Null when the request is not under the forums router.

Defined in inc/Routing/Pretty_Routes.php