PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / trunk
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance vtrunk
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 / HtmlDocument / load.md

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

16 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 ```php
2 load ( string $str [, bool $lowercase = true [, bool $stripRN = true [, string $defaultBRText = DEFAULT_BR_TEXT [, string $defaultSpanText = DEFAULT_SPAN_TEXT [, int $options = 0 ]]]]]) : object
3 ```
4
5 Loads the provided HTML document string.
6
7 | Parameter | Description |
8 |-------------------|------------------------------------------------------------------------------------------------------------------------------------|
9 | `str` | The HTML document string. |
10 | `lowercase` | Tag names are parsed in lowercase letters if enabled. |
11 | `stripRN` | Newline characters are replaced by whitespace if enabled. |
12 | `defaultBRText` | Defines the default text to return for `<br>` elements. |
13 | `defaultSpanText` | Defines the default text to return for `<span>` elements. |
14 | `options` | Additional options for the parser. Currently supports `'HDOM_SMARTY_AS_TEXT'` to remove [](https://www.smarty.net/Smarty](https://www.smarty.net/](https://www.smarty.net/) scripts. |
15
16 Returns the object.