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::copyUninlinableCssToStyleNode( string $cssImportRules )
Applies $this->matchingUninlinableCssRules to $this->domDocument by placing them as CSS in a <style> element.
Description Description
Parameters Parameters
- $cssImportRules
-
(Required) This may contain any
@importrules that should precede the CSS placed in the<style>element. If there are no unlinlinable CSS rules to copy there, a<style>element will be created containing just$cssImportRules.$cssImportRulesmay be an empty string; if it is, and there are no unlinlinable CSS rules, an empty<style>element will not be created.
Return Return
(void)
Source Source
File: vendor/pelago/emogrifier/src/Emogrifier/CssInliner.php