Core Class
View Source on Trac ↗
Core Class
WP_HTML_Doctype_Info
class WP_HTML_Doctype_Info
// Constructor: function Object() { [native code] } Core class used by the HTML API to represent a DOCTYPE declaration.
Methods 2 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor.
Parameters: $name: ?string, $public_identifier: ?string, $system_identifier: ?string, $force_quirks_flag: bool |
| from_doctype_token() (WP_HTML_Doctype_Info | Creates a WP_HTML_Doctype_Info instance by parsing a raw DOCTYPE declaration token.
Parameters: $doctype_html: string |
Properties
| Property / Type | Description |
|---|---|
| $name mixed public | No description available. |
| $public_identifier mixed public | No description available. |
| $system_identifier mixed public | No description available. |
| $indicated_compatability_mode mixed public | No description available. |
Class Information
Since Version
6.7.0
Source File
wp-includes/html-api/class-wp-html-doctype-info.php
Advertisement