Removes a selector from the store.
Parameters
$selectorstringrequired- The CSS selector.
Source
public function remove_rule( $selector ) {
unset( $this->rules[ $selector ] );
}
Changelog
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
Removes a selector from the store.
$selectorstringrequiredpublic function remove_rule( $selector ) {
unset( $this->rules[ $selector ] );
}
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.