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::replaceUnmatchableNotComponent( string[] $matches )

Helps removeUnmatchablePseudoComponents() replace or remove a selector `:not(.


Description Description

..)` component if its argument contains pseudo-elements or dynamic pseudo-classes.


Parameters Parameters

$matches

(Required) array of elements matched by the regular expression


Top ↑

Return Return

(string) the full match if there were no unmatchable pseudo components within; otherwise, any preceding whitespace followed by "*", or an empty string if there was no preceding whitespace


Top ↑

Source Source

File: vendor/pelago/emogrifier/src/Emogrifier/CssInliner.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.