WP_Style_Engine_CSS_Rule::set_selector() – Sets the selector.

You appear to be a bot. Output may be restricted

Description

Sets the selector.

Usage

$WP_Style_Engine_CSS_Rule = WP_Style_Engine_CSS_Rule::set_selector( $selector );

Parameters

$selector
( string ) required – The CSS selector.

Returns

WP_Style_Engine_CSS_Rule Returns the object to allow chaining of methods.

Source

File name: wordpress/wp-includes/style-engine/class-wp-style-engine-css-rule.php


Lines:

1 to 5 of 5
  public function set_selector( $selector ) {
    $this->selector = $selector;
    return $this;
  }
 

 View on GitHub View on Trac