Skip to content

Kirby 4.5.0

Xml::decode()

Removes all HTML/XML tags and encoded chars from a string

Xml::decode(?string $string): string

Parameters

Name Type Default
$string * string|null

Return type

string

Parent class

Kirby\Toolkit\Xml