WP_Style_Engine_CSS_Rule::set_selector( string $selector ): WP_Style_Engine_CSS_Rule

In this article

Sets the selector.

Parameters

$selectorstringrequired
The CSS selector.

Return

WP_Style_Engine_CSS_Rule Returns the object to allow chaining of methods.

Source

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

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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