$language->host()

Returns the host component of the language URL

Example

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

Is something missing or incorrect? Edit this page on Github…