Automattic\WooCommerce\EmailEditorVendor\Sabberworm\CSS\CSSList
Document::getAllRuleSets
Returns all RuleSet objects recursively found in the tree, no matter how deeply nested the rule sets are.
Метод класса: Document{}
Хуков нет.
Возвращает
array<int, RuleSet>.
Использование
$Document = new Document(); $Document->getAllRuleSets();
Код Document::getAllRuleSets() Document::getAllRuleSets WC 11.3.0
public function getAllRuleSets()
{
/** @var array<int, RuleSet> $aResult */
$aResult = [];
$this->allRuleSets($aResult);
return $aResult;
}