Skip to content

Kirby 4.2.0

$dom->body()

Returns the HTML body if one exists

$dom->body(): DOMElement|null

Return type

DOMElement|null

Parent class

Kirby\Toolkit\Dom