WordPress at a glance
function is not described

Pelago\Emogrifier\Utilities

CssConcatenator::getMediaRuleCss() private WC 1.0

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

No Hooks.

Return

String. CSS for the media rule.

Usage

$result = CssConcatenator::getMediaRuleCss( \stdClass $mediaRule );
\stdClass $mediaRule (required)
-

Code of CssConcatenator::getMediaRuleCss() WC 5.4.1

<?php
private static function getMediaRuleCss(\stdClass $mediaRule)
{
    $css = \implode('', \array_map([self::class, 'getRuleBlockCss'], $mediaRule->ruleBlocks));
    if ($mediaRule->media !== '') {
        $css = $mediaRule->media . '{' . $css . '}';
    }
    return $css;
}