Skip to content

Kirby 4.1.2

$page->uri()

The uri is the same as the id, except that it will be translated in multi-language setups

$page->uri(?string $languageCode = null): string

Parameters

Name Type Default
$languageCode string|null null

Return type

string

Parent class

Kirby\Cms\Page

Example

<?= $page->uri() ?>