Skip to content

Kirby 3.6.6

Url::short()

Shortens the Url by removing all unnecessary parts

Url::short(string $url = null, int $length = 0, bool $base = false, string $rep = '…'): string

Parameters

Name Type Default
$url string null
$length int 0
$base bool false
$rep string '…'

Return type

string

Parent class

Kirby\Cms\Url inherited from Kirby\Http\Url