Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor
CssToAttributeConverter::isTableOrImageNode
Метод класса: CssToAttributeConverter{}
Хуков нет.
Возвращает
true|false.
Использование
// private - только в коде основоного (родительского) класса $result = $this->isTableOrImageNode( $node ): bool;
- $node(DOMElement) (обязательный)
- .
Код CssToAttributeConverter::isTableOrImageNode() CssToAttributeConverter::isTableOrImageNode WC 11.0.1
private function isTableOrImageNode(\DOMElement $node): bool
{
return $node->nodeName === 'table' || $node->nodeName === 'img';
}