Skip to content

Kirby 4.4.1

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