W3cubDocs

/WordPress

WP_HTML_Token::__destruct()

Destructor.

Source

*
* @param string|null   $bookmark_name         Name of bookmark corresponding to location in HTML where token is found,
*                                             or `null` for markers and nodes without a bookmark.
* @param string        $node_name             Name of node token represents; if uppercase, an HTML element; if lowercase, a special value like "marker".
* @param bool          $has_self_closing_flag Whether the source token contains the self-closing flag, regardless of whether it's valid.

Changelog

Version Description
6.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_html_token/__destruct