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::generateStyleStringFromDeclarationsArrays( string[] $oldStyles, string[] $newStyles )

This method merges old or existing name/value array with new name/value array and then generates a string of the combined style suitable for placing inline.


Description Description

This becomes the single point for CSS string generation allowing for consistent CSS output no matter where the CSS originally came from.


Parameters Parameters

$oldStyles

(Required)

$newStyles

(Required)


Top ↑

Return Return

(string)


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.