Automattic\WooCommerce\Vendor\Pelago\Emogrifier\Css
StyleRule::getDeclarationAsText
Метод класса: StyleRule{}
Хуков нет.
Возвращает
Строку. the CSS declarations, separated and followed by a semicolon, e.g., color: red; height: 4px;
Использование
$StyleRule = new StyleRule(); $StyleRule->getDeclarationAsText(): string;
Код StyleRule::getDeclarationAsText() StyleRule::getDeclarationAsText WC 10.4.3
public function getDeclarationAsText(): string
{
return \implode(' ', $this->declarationBlock->getRules());
}