Project: Html Api

HTML API

WordPress HTML parsing and modification framework providing spec-compliant HTML5 processing. Since: 6.2.0 Source: wp-includes/html-api/ Components Component Description class-wp-html-tag-processor.md Tag-level HTML scanner and modifier class-wp-html-processor.md Full HTML5 parser with tree construction...

WP_HTML_Stack_Event

Record of a stack operation during HTML parsing. Source: wp-includes/html-api/class-wp-html-stack-event.php Since: 6.6.0 Access: private Constants POP const POP = 'pop'; Indicates an element was popped off the stack of open...

WP_HTML_Tag_Processor

Linear HTML scanner for finding and modifying HTML tags and their attributes. Source: wp-includes/html-api/class-wp-html-tag-processor.php Since: 6.2.0 Constants Bookmarks & Limits Constant Value Description MAX_BOOKMARKS 10 Maximum bookmarks allowed MAX_SEEK_OPS 1000...

WP_HTML_Text_Replacement

Data structure for queuing text replacements in an HTML document. Source: wp-includes/html-api/class-wp-html-text-replacement.php Since: 6.2.0 Access: private Overview Represents a text replacement operation: a span of the original document to be...

WP_HTML_Token

Represents a token in the HTML document for tracking in parser stacks. Source: wp-includes/html-api/class-wp-html-token.php Since: 6.4.0 Access: private Properties bookmark_name public $bookmark_name = null; Type: string (source docblock declares @var...

WP_HTML_Unsupported_Exception

Exception thrown when the HTML processor encounters unsupported markup. Source: wp-includes/html-api/class-wp-html-unsupported-exception.php Since: 6.4.0 Since: 6.7.0 Gained contextual debugging information Access: private Extends: Exception Overview The HTML API aims to operate...

Hooks

The HTML API does not define any actions or filters. (Verified: no do_action or apply_filters calls exist in any source file under wp-includes/html-api/.) Source: wp-includes/html-api/ Overview The HTML API is...

WP_HTML_Doctype_Info

Represents a parsed DOCTYPE declaration token with document compatibility mode. Source: wp-includes/html-api/class-wp-html-doctype-info.php Since: 6.7.0 Access: private Properties Property Type Description $name string|null DOCTYPE name (should be "html") $public_identifier string|null Public...

WP_HTML_Open_Elements

Stack of open elements used during HTML parsing for tree construction. Source: wp-includes/html-api/class-wp-html-open-elements.php Since: 6.4.0 Access: private Properties Property Type Visibility Description $stack WP_HTML_Token[] public Array of open element tokens...

WP_HTML_Processor_State

Internal state management for the HTML processor during parsing. Source: wp-includes/html-api/class-wp-html-processor-state.php Since: 6.4.0 Access: private Constants Insertion Modes Constant Description INSERTION_MODE_INITIAL Initial state for full parser (@since 6.4.0) INSERTION_MODE_BEFORE_HTML Before...

← Back to Chubes.net