Skip to content

Kirby 4.4.1

$language->url()

Returns the absolute Url for the language

$language->url(): string

Return type

string

Parent class

Kirby\Cms\Language

Example

<?= $site->language('en')->url() ?>