Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor
AbstractHtmlProcessor::render
Renders the normalized and processed HTML.
Метод класса: AbstractHtmlProcessor{}
Хуков нет.
Возвращает
string.
Использование
$AbstractHtmlProcessor = new AbstractHtmlProcessor(); $AbstractHtmlProcessor->render(): string;
Код AbstractHtmlProcessor::render() AbstractHtmlProcessor::render WC 11.2.1
public function render(): string
{
$htmlWithPossibleErroneousClosingTags = $this->getDomDocument()->saveHTML();
return $this->removeSelfClosingTagsClosingTags($htmlWithPossibleErroneousClosingTags);
}