Skip to content

Kirby 5.0.4

Url::stripFragment()

Removes the fragment (hash) from the Url

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

Parameters

Name Type Default
$url stringornull null

Return type

string

Parent class

Kirby\Http\Url