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

public function release_bookmark( $bookmark_name ) {
	return parent::release_bookmark( "_{$bookmark_name}" );
}

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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