Skip to content

Kirby 4.4.1

Url::stripQuery()

Removes the query string from the Url

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

Parameters

Name Type Default
$url string|null null

Return type

string

Parent class

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