Automattic\WooCommerce\Vendor\Pelago\Emogrifier\HtmlProcessor
CssToAttributeConverter::getAllNodesWithStyleAttribute
Returns a list with all DOM nodes that have a style attribute.
Method of the class: CssToAttributeConverter{}
No Hooks.
Returns
\DOMNodeList.
Usage
// private - for code of main (parent) class only $result = $this->getAllNodesWithStyleAttribute(): \DOMNodeList;
CssToAttributeConverter::getAllNodesWithStyleAttribute() CssToAttributeConverter::getAllNodesWithStyleAttribute code WC 10.8.1
private function getAllNodesWithStyleAttribute(): \DOMNodeList
{
return $this->getXPath()->query('//*[@style]');
}