Skip to content

Kirby 5.0.4

Url::stripQuery()

Removes the query string from the Url

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

Parameters

Name Type Default
$url stringornull null

Return type

string

Parent class

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