Skip to content

Kirby 4.5.0

Escape::attr()

Escape common HTML attributes data

Escape::attr(string $string): string

Parameters

Name Type Default
$string * string

Return type

string

Parent class

Kirby\Toolkit\Escape