WP_Style_Engine_CSS_Rules_Store::remove_rule() – Removes a selector from the store.

You appear to be a bot. Output may be restricted

Description

Removes a selector from the store.

Usage

$void = WP_Style_Engine_CSS_Rules_Store::remove_rule( $selector );

Parameters

$selector
( string ) required – The CSS selector.

Returns

void

Source

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


Lines:

1 to 4 of 4
  public function remove_rule( $selector ) {
    unset( $this->rules[ $selector ] );
  }
 

 View on GitHub View on Trac