Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor

CssToAttributeConverter::getAllNodesWithStyleAttributeprivateWC 1.0

Returns a list with all DOM nodes that have a style attribute.

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

Хуков нет.

Возвращает

\DOMNodeList.

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

// private - только в коде основоного (родительского) класса
$result = $this->getAllNodesWithStyleAttribute(): \DOMNodeList;

Код CssToAttributeConverter::getAllNodesWithStyleAttribute() WC 10.4.3

private function getAllNodesWithStyleAttribute(): \DOMNodeList
{
    return $this->getXPath()->query('//*[@style]');
}