PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 4.7.0
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v4.7.0
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
wp-optimize / vendor / simplehtmldom / simplehtmldom / docs / HtmlNode / hasClass.md

hasClass.md in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 4.7.0, at vendor/simplehtmldom/simplehtmldom/docs/HtmlNode/hasClass.md

15 lines 331 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 ```php
2 hasClass ( string $class ) : bool
3 ```
4
5 | Parameter | Description |
6 |-----------|-----------------------------------------|
7 | `class` | Specifies the class name to search for. |
8
9 Returns true if the current node has the specified class name.
10
11 **Examples**
12
13 ```php
14 $node->hasClass('article');
15 ```