Title: get_edit_bookmark_link
Published: April 25, 2014
Last modified: May 20, 2026

---

# apply_filters( ‘get_edit_bookmark_link’, string $location, int $link_id )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#wp--skip-link--target)

Filters the bookmark edit link.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#parameters)󠁿

 `$location`string

The edit link.

`$link_id`int

Bookmark ID.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#source)󠁿

    ```php
    return apply_filters( 'get_edit_bookmark_link', $location, $link->link_id );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/link-template.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/link-template.php#L1695)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L1695-L1695)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#related)󠁿

| Used by | Description | 
| [get_edit_bookmark_link()](https://developer.wordpress.org/reference/functions/get_edit_bookmark_link/)`wp-includes/link-template.php` |

Displays the edit bookmark link.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/get_edit_bookmark_link/?output_format=md#changelog)󠁿

| Version | Description | 
| [2.7.0](https://developer.wordpress.org/reference/since/2.7.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fget_edit_bookmark_link%2F)
before being able to contribute a note or feedback.