WordPress at Your Fingertips
function is not described

Pelago\Emogrifier

CssInliner::addAllowedMediaType() public WC 1.0

Marks a media query type to keep.

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

No Hooks.

Return

null. Nothing.

Usage

$CssInliner = new CssInliner();
$CssInliner->addAllowedMediaType( $mediaName );
$mediaName(string) (required)
the media type name, e.g., "braille"

Code of CssInliner::addAllowedMediaType() WC 5.5.2

<?php
public function addAllowedMediaType($mediaName)
{
    $this->allowedMediaTypes[$mediaName] = true;
}