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

---

# apply_filters( ‘edit_tag_link’, string $link )

## In this article

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

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

Filters the anchor tag for the edit link for a tag (or term in another taxonomy).

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

 `$link`string

The anchor tag for the edit link.

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

    ```php
    echo $before . apply_filters( 'edit_tag_link', $link ) . $after;
    ```

[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#L1065)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/link-template.php#L1065-L1065)

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

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

Displays or retrieves the edit link for a tag with formatting.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/edit_tag_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%2Fedit_tag_link%2F)
before being able to contribute a note or feedback.