WordPress at a glance
function is not described

Pelago\Emogrifier

CssInliner::removeImportantAnnotationFromAllInlineStyles() private WC 1.0

Searches for all nodes with a style attribute and removes the "!important" annotations out of the inline style declarations, eventually by rearranging declarations.

{} It's a method of the class: CssInliner{}

No Hooks.

Return

null.

Usage

// private - for code of main (parent) class only
$result = $this->removeImportantAnnotationFromAllInlineStyles();

Code of CssInliner::removeImportantAnnotationFromAllInlineStyles() WC 5.0.0

<?php
private function removeImportantAnnotationFromAllInlineStyles()
{
    foreach ($this->getAllNodesWithStyleAttribute() as $node) {
        $this->removeImportantAnnotationFromNodeInlineStyle($node);
    }
}