wp-includes/html-api/class-wp-html-token.php:99Constructor - creates a reference to a token in some external HTML string.
$bookmark_namestring|null$node_namestring$has_self_closing_flagbool$on_destroycallable|nulloptionalnull public function __construct( ?string $bookmark_name, string $node_name, bool $has_self_closing_flag, ?callable $on_destroy = null ) { $this->bookmark_name = $bookmark_name; $this->namespace = 'html'; $this->node_name = $node_name; $this->has_self_closing_flag = $has_self_closing_flag; $this->on_destroy = $on_destroy; }Introduced in 6.4.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/html-api/class-wp-html-token.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.