Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor

AbstractHtmlProcessor::render │ public │ WC 1.0

Renders the normalized and processed HTML.

Метод класса: AbstractHtmlProcessor{}

Хуков нет.

Возвращает

string.

Использование

$AbstractHtmlProcessor = new AbstractHtmlProcessor();
$AbstractHtmlProcessor->render(): string;

Код AbstractHtmlProcessor::render() WC 11.2.1

public function render(): string
{
    $htmlWithPossibleErroneousClosingTags = $this->getDomDocument()->saveHTML();

    return $this->removeSelfClosingTagsClosingTags($htmlWithPossibleErroneousClosingTags);
}