W3cubDocs

/WordPress

WP_HTML_Processor::release_bookmark( string $bookmark_name ): bool

Removes a bookmark that is no longer needed.

Description

Releasing a bookmark frees up the small performance overhead it requires.

Parameters

$bookmark_namestringrequired
Name of the bookmark to remove.

Return

bool Whether the bookmark already existed before removal.

Source

if ( '+HEAD' === $op || '+NOSCRIPT' === $op || $is_closer ) {
	// Parse error: ignore the token.
	return $this->step();

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_processor/release_bookmark