Skip to content

Kirby 4.5.0

Str::unhtml()

Removes all html tags and encoded chars from a string

Str::unhtml(?string $string = null): string

Parameters

Name Type Default
$string string|null null

Return type

string

Parent class

Kirby\Toolkit\Str