File manager - Edit - /home/carfac/.trash/wp-optimize.1/vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/removeClass.md
Back
```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(); ```
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings