Automattic\WooCommerce\EmailEditor\Integrations\Utils

Dom_Document_Helper::get_outer_htmlpublicWC 1.0

Returns the outer HTML of the given element.

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

Хуков нет.

Возвращает

null. Ничего (null).

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

$Dom_Document_Helper = new Dom_Document_Helper();
$Dom_Document_Helper->get_outer_html( $element ): string;
$element(DOMElement) (обязательный)
The element to get the outer HTML from.

Код Dom_Document_Helper::get_outer_html() WC 10.4.3

public function get_outer_html( \DOMElement $element ): string {
	return (string) $this->dom->saveHTML( $element );
}