WP_Style_Engine_CSS_Rule::set_selector()publicWP 6.1.0

Sets the selector.

Метод класса: WP_Style_Engine_CSS_Rule{}

Хуков нет.

Возвращает

WP_Style_Engine_CSS_Rule. Returns the object to allow chaining of methods.

Использование

$WP_Style_Engine_CSS_Rule = new WP_Style_Engine_CSS_Rule();
$WP_Style_Engine_CSS_Rule->set_selector( $selector );
$selector(строка) (обязательный)
The CSS selector.

Список изменений

С версии 6.1.0 Введена.

Код WP_Style_Engine_CSS_Rule::set_selector() WP 6.5.2

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