WP_Style_Engine_CSS_Rule::set_selectorpublicWP 6.1.0

Sets the selector.

Method of the class: WP_Style_Engine_CSS_Rule{}

No Hooks.

Returns

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.8.1

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