WordPress at a glance
function is not described

Pelago

Emogrifier::createUnifiedDomDocument() private WC 1.0

Creates a DOM document from the given HTML and stores it in $this->domDocument.

The DOM document will always have a BODY element.

{} It's a method of the class: Emogrifier{}

No Hooks.

Return

null.

Usage

// private - for code of main (parent) class only
$result = $this->createUnifiedDomDocument( $html );
$html(string) (required)
-

Code of Emogrifier::createUnifiedDomDocument() WC 5.0.0

<?php
private function createUnifiedDomDocument($html)
{
    $this->createRawDomDocument($html);
    $this->ensureExistenceOfBodyElement();
}