$language->host()

Returns the host component of the language URL

  • since: Kirby 2.4.0
  • return (string)

Example

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