Checks whether a bookmark with the given name exists.
Parameters
$bookmark_namestringrequired- Name to identify a bookmark that potentially exists.
Source
public function has_bookmark( $bookmark_name ): bool {
return parent::has_bookmark( "_{$bookmark_name}" );
}
Changelog
| Version | Description |
|---|---|
| 6.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.