url::idn($url)

Shortens a URL and converts IDN domain names to Unicode

  • since: Kirby 2.3.2
  • $url (string)
    The URL to be shortened
  • return (string)
    The shortened and converted URL

Please note that this method requires the PHP intl extension. If it is not installed, this function will behave exactly like url::short($url, $length = false, $base = false, $rep = '…').