Skip to content

Kirby 4.4.1

Html::rel()

Add noreferrer to rels when target is _blank

Html::rel(?string $rel = null, ?string $target = null): string|null

Parameters

Name Type Default Description
$rel string|null null Current rel value
$target string|null null Current target value

Return type

string|null

Parent class

Kirby\Toolkit\Html