File "removeClass.md"
Full Path: /var/www/html/wordpress/wp-content/plugins/wp-optimize/vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/removeClass.md
File size: 673 bytes
MIME-type: text/plain
Charset: utf-8
```php
removeClass ( [ mixed $class = null ] )
```
| Parameter | Description |
|-----------|--------------------------------------------------|
| `class` | Specifies one or more class names to be removed. |
Removes one or more class names from the current node.
**Remarks**
* To remove more than one class, separate the class names with space or provide them as an array.
* If no parameter is specified, this method will remove all class names from the current node.
**Examples**
```php
$node->removeClass('hidden');
$node->removeClass('article important');
$node->removeClass(array('article', 'new'));
$node->removeClass();
```