WP_Style_Engine_CSS_Rule::set_rules_group( string $rules_group ): WP_Style_Engine_CSS_Rule

In this article

Sets the rules group.

Parameters

$rules_groupstringrequired
A parent CSS selector in the case of nested CSS, or a CSS nested @rule, such as @media (min-width: 80rem) or @layer module.

Return

WP_Style_Engine_CSS_Rule Returns the object to allow chaining of methods.

Source

public function set_rules_group( $rules_group ) {
	$this->rules_group = $rules_group;
	return $this;
}

Changelog

VersionDescription
6.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.