Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
CssInliner::existsMatchForSelectorInCssRule( string[] $cssRule )
Checks whether there is at least one matching element for the CSS selector contained in the selector
element of the provided CSS rule.
Description Description
Any dynamic pseudo-classes will be assumed to apply. If the selector matches a pseudo-element, it will test for a match with its originating element.
Parameters Parameters
- $cssRule
-
(Required)
Return Return
(bool)
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier/CssInliner.php