Skip to content

Kirby 4.2.0

$element->innerText()

Returns the contents as plain text

$element->innerText(): string

Return type

string

Parent class

Kirby\Parsley\Element