Skip to content

Kirby 4.3.0

$element->innerText()

Returns the contents as plain text

$element->innerText(): string

Return type

string

Parent class

Kirby\Parsley\Element