WP_HTML_Tag_Processor::has_bookmark() – Checks whether a bookmark with the given name exists.

You appear to be a bot. Output may be restricted

Description

Checks whether a bookmark with the given name exists.

Usage

$bool = WP_HTML_Tag_Processor::has_bookmark( $bookmark_name );

Parameters

$bookmark_name
( string ) required – Name to identify a bookmark that potentially exists.

Returns

bool Whether that bookmark exists.

Source

File name: wordpress/wp-includes/html-api/class-wp-html-tag-processor.php


Lines:

1 to 4 of 4
  public function has_bookmark( $bookmark_name ) {
    return array_key_exists( $bookmark_name, $this->bookmarks );
  }
 

 View on GitHub View on Trac