Automattic\WooCommerce\Vendor\Pelago\Emogrifier

CssInliner::removeExcludedSelectorpublicWC 1.0

No longer excludes the nodes matching this selector from emogrification.

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

Хуков нет.

Возвращает

$this.

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

$CssInliner = new CssInliner();
$CssInliner->removeExcludedSelector( $selector ): self;
$selector(строка) (обязательный)
the selector to no longer exclude, e.g., ".editor".

Код CssInliner::removeExcludedSelector() WC 10.4.3

public function removeExcludedSelector(string $selector): self
{
    if (isset($this->excludedSelectors[$selector])) {
        unset($this->excludedSelectors[$selector]);
    }

    return $this;
}