Removes a bookmark that is no longer needed.
Description
Releasing a bookmark frees up the small performance overhead it requires.
Parameters
$name
stringrequired- Name of the bookmark to remove.
Source
public function release_bookmark( $name ) {
if ( ! array_key_exists( $name, $this->bookmarks ) ) {
return false;
}
unset( $this->bookmarks[ $name ] );
return true;
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.