Pelago
Emogrifier::removeUnprocessableHtmlTag() public WC 1.0
Drops a tag from the removal list.
{} It's a method of the class: Emogrifier{}
No Hooks.
Return
null.
Usage
$Emogrifier = new Emogrifier(); $Emogrifier->removeUnprocessableHtmlTag( $tagName );
- $tagName(string) (required)
- the tag name, e.g., "p"
Code of Emogrifier::removeUnprocessableHtmlTag() Emogrifier::removeUnprocessableHtmlTag WC 5.0.0
public function removeUnprocessableHtmlTag($tagName)
{
$key = \array_search($tagName, $this->unprocessableHtmlTags, true);
if ($key !== false) {
/** @var int|string $key */
unset($this->unprocessableHtmlTags[$key]);
}
}