DOMChildNode::after
(PHP 8)
DOMChildNode::after — Adds nodes after the node
Description
Adds the passed nodes
after the node.
Parameters
-
nodes
-
Nodes to be added after the node.
Return Values
No value is returned.
See Also
- DOMChildNode::before() - Adds nodes before the node
- DOMChildNode::remove() - Removes the node
- DOMChildNode::replaceWith() - Replaces the node with new nodes
- DOMNode::appendChild() - Adds new child at the end of the children