Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor

CssToAttributeConverter::isTableOrImageNodeprivateWC 1.0

Method of the class: CssToAttributeConverter{}

No Hooks.

Returns

true|false.

Usage

// private - for code of main (parent) class only
$result = $this->isTableOrImageNode( $node ): bool;
$node(DOMElement) (required)
.

CssToAttributeConverter::isTableOrImageNode() code WC 10.5.0

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