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.
Emogrifier::translateCssToXpathPassWithMatchClassAttributesCallback( string $trimmedLowercaseSelector, callable $matchClassAttributesCallback )
Flexibly translates the CSS selector $trimmedLowercaseSelector to an xPath selector while using $matchClassAttributesCallback as to match the class attributes.
Description Description
Parameters Parameters
- $trimmedLowercaseSelector
-
(Required)
- $matchClassAttributesCallback
-
(Required)
Return Return
(string)
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier.php