Skip to content

Kirby 4.5.0

Dom::unwrap()

Removes a node from the document but keeps its children by moving them one level up

Dom::unwrap(DOMNode $node): void

Parameters

Name Type Default
$node * DOMNode

Parent class

Kirby\Toolkit\Dom