WordPress at a glance
function is not described

Pelago

Emogrifier::attributeValueIsImportant() private WC 1.0

Checks whether $attributeValue is marked as !important.

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

No Hooks.

Return

true/false.

Usage

// private - for code of main (parent) class only
$result = $this->attributeValueIsImportant( $attributeValue );
$attributeValue(string) (required)
-

Code of Emogrifier::attributeValueIsImportant() WC 5.0.0

<?php
private function attributeValueIsImportant($attributeValue)
{
    return \strtolower(\substr(\trim($attributeValue), -10)) === '!important';
}