Automattic\WooCommerce\Vendor\Pelago\Emogrifier

CssInliner::addExcludedSelectorpublicWC 1.0

Adds a selector to exclude nodes from emogrification.

Any nodes that match the selector will not have their style altered.

Method of the class: CssInliner{}

No Hooks.

Returns

$this.

Usage

$CssInliner = new CssInliner();
$CssInliner->addExcludedSelector( $selector ): self;
$selector(string) (required)
the selector to exclude, e.g., ".editor".

CssInliner::addExcludedSelector() code WC 10.5.0

public function addExcludedSelector(string $selector): self
{
    $this->excludedSelectors[$selector] = true;

    return $this;
}