Automattic\WooCommerce\Vendor\Sabberworm\CSS\CSSList
Document::createShorthands
Deprecated since since 8.7.0, will be removed without substitution in version 9.0 in #511. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Create shorthands properties whenever possible.
Method of the class: Document{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Document = new Document(); $Document->createShorthands();
Changelog
| Deprecated | Since 8.7.0 | , will be removed without substitution in version 9.0 in #511 |
Document::createShorthands() Document::createShorthands code WC 10.5.0
public function createShorthands()
{
foreach ($this->getAllDeclarationBlocks() as $oDeclaration) {
$oDeclaration->createShorthands();
}
}