Clanbite Forums

clanbite_forums_router_url( string $forum_slug = '', string $topic_slug = '', int $reply_id = 0 ): string

Public router URL: /base/, /base/forum/, /base/forum/topic/, /base/forum/topic/reply_id/ when pretty; else query args on the base URL.

Namespace: Kernowdev\ClanbiteForums

Parameters

$forum_slug (string) Optional

Forum slug (empty = forums index).

Default: ''

$topic_slug (string) Optional

Topic slug.

Default: ''

$reply_id (int) Optional

Reply ID segment (only with topic).

Default: 0

Returns

string

Defined in inc/functions.php