Skip to content

Kirby 5.0.1

$element->innerText()

Returns the contents as plain text

$element->innerText(): string

Return type

string

Parent class

Kirby\Parsley\Element