AMP_DOM_Utils::get_content_from_dom( AmpProjectDomDocument $dom )
Description #
Return valid HTML *body* content extracted from the Dom\Document passed as a parameter.
See also
- {@see AMP_DOM_Utils::get_content_from_dom_node()}: Reciprocal function.
Parameters #
- $dom
-
(Required) Represents an HTML document from which to extract HTML content.