Automattic\WooCommerce\Vendor\Sabberworm\CSS\CSSList

Document::getAllSelectorspublicWC 1.0

Deprecated since 9.0. It is no longer supported and may be removed in future releases. Use `getAllDeclarationBlocks()` instead.

Gets all DeclarationBlock objects recursively.

Method of the class: Document{}

No Hooks.

Returns

Array. DeclarationBlock>

Usage

$Document = new Document();
$Document->getAllSelectors();

Changelog

Deprecated will be removed in version 9.0; use getAllDeclarationBlocks() instead

Document::getAllSelectors() code WC 10.8.1

public function getAllSelectors()
{
    return $this->getAllDeclarationBlocks();
}