# clanbite_forums_router_url()

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

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

## Parameters

- `$forum_slug` (string) Forum slug (empty = forums index).
- `$topic_slug` (string) Topic slug.
- `$reply_id` (int) Reply ID segment (only with topic).

## Return

`string`
