This method has been deprecated. Use AMP_DOM_Utils::get_dom() instead.
AMP_DOM_Utils::get_content_from_dom_node( AmpProjectDomDocument $dom, DOMElement $node )
Description #
Return valid HTML content extracted from the DOMNode passed as a parameter.
See also
- {@see AMP_DOM_Utils::get_dom()}: Where the operations in this method are mirrored.
- {@see AMP_DOM_Utils::get_content_from_dom()}: Reciprocal function.
Parameters #
- $dom
-
(Required) Represents an HTML document.
- $node
-
(Required) Represents an HTML element of the $dom from which to extract HTML content.