WordPress at a glance
function is not described

Pelago

Emogrifier::generateStyleStringFromSingleDeclarationsArray() private WC 1.0

Generates a CSS style string suitable to be used inline from the $styleDeclarations property => value array.

{} It's a method of the class: Emogrifier{}

No Hooks.

Return

String.

Usage

// private - for code of main (parent) class only
$result = $this->generateStyleStringFromSingleDeclarationsArray( $styleDeclarations );
$styleDeclarations(array) (required)
-

Code of Emogrifier::generateStyleStringFromSingleDeclarationsArray() WC 5.0.0

<?php
private function generateStyleStringFromSingleDeclarationsArray(array $styleDeclarations)
{
    return $this->generateStyleStringFromDeclarationsArrays([], $styleDeclarations);
}