Automattic\WooCommerce\Vendor\Pelago\Emogrifier
CssInliner::removeExcludedSelector
No longer excludes the nodes matching this selector from emogrification.
Method of the class: CssInliner{}
No Hooks.
Returns
$this.
Usage
$CssInliner = new CssInliner(); $CssInliner->removeExcludedSelector( $selector ): self;
- $selector(string) (required)
- the selector to no longer exclude, e.g., ".editor".
CssInliner::removeExcludedSelector() CssInliner::removeExcludedSelector code WC 10.5.0
public function removeExcludedSelector(string $selector): self
{
if (isset($this->excludedSelectors[$selector])) {
unset($this->excludedSelectors[$selector]);
}
return $this;
}