Skip to content

Kirby 4.4.1

Url::stripPath()

Removes the path from the Url

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

Parameters

Name Type Default
$url string|null null

Return type

string

Parent class

Kirby\Http\Url