Skip to content

Kirby 4.5.0

$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() ?>