Skip to content

Kirby 5.0.4

Url::stripPath()

Removes the path from the Url

Url::stripPath(string|null $url = null): string

Parameters

Name Type Default
$url stringornull null

Return type

string

Parent class

Kirby\Http\Url