PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 1.9.5
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v1.9.5
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / simplehtmldom / manual / docs / api / simple_html_dom_node / removeClass.md

removeClass.md in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 1.9.5, at simplehtmldom/manual/docs/api/simple_html_dom_node/removeClass.md

25 lines 608 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # removeClass
2
3 ```php
4 removeClass ( [ mixed $class = null ] )
5 ```
6
7 | Parameter | Description
8 | --------- | -----------
9 | `class` | Specifies one or more class names to be removed.
10
11 Removes one or more class names from the current node.
12
13 **Remarks**
14
15 * To remove more than one class, separate the class names with space or provide them as an array.
16 * If no parameter is specified, this method will remove all class names from the current node.
17
18 **Examples**
19
20 ```php
21 $node->removeClass('hidden');
22 $node->removeClass('article important');
23 $node->removeClass(array('article', 'new'));
24 $node->removeClass();
25 ```