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::existsMatchForCssSelector( string $cssSelector )

Checks whether there is at least one matching element for $cssSelector.


Description Description

When not in debug mode, it returns true also for invalid selectors (because they may be valid, just not implemented/recognized yet by Emogrifier).


Parameters Parameters

$cssSelector

(Required)


Top ↑

Return Return

(bool)


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.