WordPress at a glance
function is not described

Pelago

Emogrifier::removeAllowedMediaType() public WC 1.0

Drops a media query type from the allowed list.

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

No Hooks.

Return

null.

Usage

$Emogrifier = new Emogrifier();
$Emogrifier->removeAllowedMediaType( $mediaName );
$mediaName(string) (required)
the tag name, e.g., "braille"

Code of Emogrifier::removeAllowedMediaType() WC 5.0.0

<?php
public function removeAllowedMediaType($mediaName)
{
    if (isset($this->allowedMediaTypes[$mediaName])) {
        unset($this->allowedMediaTypes[$mediaName]);
    }
}