🎉 If you are still on v2, we offer attractive prices for all owners of a Kirby 2 license to upgrade to v3.
Upgrade your v2 license now
.
$language->url()
Returns the assigned base URL for the language
return
(string)
Example
<?= $site->language('en')->url() ?>
↑
Cheat Sheet overview
←
$language->path()
↓
Back to Cheat Sheet section
Top