WP_HTML_Processor::bookmark_tag(): string|false

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

Creates a new bookmark for the currently-matched tag and returns the generated name.

Return

string|false Name of created bookmark, or false if unable to create.

Source

* This doesn't currently have a way to represent non-tags and doesn't process
* semantic rules for text nodes. For access to the raw tokens consider using
* WP_HTML_Tag_Processor instead.
*
* Note that this method may call itself recursively. This is why it is not
* implemented as WP_HTML_Processor::next_token(), which instead calls
* this method similarly to how WP_HTML_Tag_Processor::next_token()
* calls the WP_HTML_Tag_Processor::base_class_next_token() method.
*
* @since 6.7.2 Added for internal support.
* @ignore
*

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.

Sponsor
SponsoredKunjungi sekarang
Promo