Automattic\WooCommerce\EmailEditorVendor\Pelago\Emogrifier\HtmlProcessor

CssToAttributeConverter::isTableOrImageNode │ private │ WC 1.0

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

Хуков нет.

Возвращает

bool.

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

// private - только в коде основоного (родительского) класса
$result = $this->isTableOrImageNode( $node ): bool;
$node(DOMElement) (обязательный)
.

Код CssToAttributeConverter::isTableOrImageNode() WC 11.3.0

private function isTableOrImageNode(\DOMElement $node): bool
{
    return $node->nodeName === 'table' || $node->nodeName === 'img';
}