Skip to content

Kirby 4.5.0

$element->innerText()

Returns the contents as plain text

$element->innerText(): string

Return type

string

Parent class

Kirby\Parsley\Element