Skip to content

Kirby 4.6.1

$element->innerText()

Returns the contents as plain text

$element->innerText(): string

Return type

string

Parent class

Kirby\Parsley\Element