Automattic\WooCommerce\EmailEditorVendor\Pelago\Emogrifier\HtmlProcessor

CssToAttributeConverter::getAllNodesWithStyleAttribute │ private │ WC 1.0

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

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

Хуков нет.

Возвращает

\DOMNodeList.

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

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

Код CssToAttributeConverter::getAllNodesWithStyleAttribute() WC 11.3.0

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