WP_Style_Engine_CSS_Rule::set_selector()publicWP 6.1.0

Sets the selector.

Method of the class: WP_Style_Engine_CSS_Rule{}

No Hooks.

Return

WP_Style_Engine_CSS_Rule. Returns the object to allow chaining of methods.

Usage

$WP_Style_Engine_CSS_Rule = new WP_Style_Engine_CSS_Rule();
$WP_Style_Engine_CSS_Rule->set_selector( $selector );
$selector(string) (required)
The CSS selector.

Changelog

Since 6.1.0 Introduced.

WP_Style_Engine_CSS_Rule::set_selector() code WP 6.5.4

public function set_selector( $selector ) {
	$this->selector = $selector;
	return $this;
}