WP_HTML_Processor::release_bookmark()
Removes a bookmark that is no longer needed.
Releasing a bookmark frees up the small performance overhead it requires.
Method of the class: WP_HTML_Processor{}
No Hooks.
Return
true|false
. Whether the bookmark already existed before removal.
Usage
$WP_HTML_Processor = new WP_HTML_Processor(); $WP_HTML_Processor->release_bookmark( $bookmark_name );
- $bookmark_name(string) (required)
- Name of the bookmark to remove.
Changelog
Since 6.4.0 | Introduced. |
WP_HTML_Processor::release_bookmark() WP HTML Processor::release bookmark code WP 6.6.2
public function release_bookmark( $bookmark_name ) { return parent::release_bookmark( "_{$bookmark_name}" ); }