Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\CSSList

Document::getAllSelectors │ public │ WC 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<int, DeclarationBlock>.

Usage

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

Changelog

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

Document::getAllSelectors() code WC 11.3.0

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