Removes a selector from the store.
$selectorstringrequired
public function remove_rule( $selector ) {
unset( $this->rules[ $selector ] );
}
| Version | Description |
|---|---|
| 6.1.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_style_engine_css_rules_store/remove_rule