Skip to content

Kirby 4.1.2

Url::stripFragment()

Removes the fragment (hash) from the Url

Url::stripFragment(?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