Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\RuleSet

DeclarationBlock::createListStyleShorthand │ public │ WC 1.0

Устарела с версии since 8.7.0, will be removed without substitution in version 9.0 in #511. Больше не поддерживается и может быть удалена. Рекомендуется заменить эту функцию на аналог.

Метод класса: DeclarationBlock{}

Хуков нет.

Возвращает

void. Ничего (null).

Использование

$DeclarationBlock = new DeclarationBlock();
$DeclarationBlock->createListStyleShorthand();

Список изменений

Устарела С версии 8.7.0 , will be removed without substitution in version 9.0 in #511

Код DeclarationBlock::createListStyleShorthand() WC 11.3.0

public function createListStyleShorthand()
{
    $aProperties = [
        'list-style-type',
        'list-style-position',
        'list-style-image',
    ];
    $this->createShorthandProperties($aProperties, 'list-style');
}