Core Function
View Source on Trac ↗ get_edit_tag_link()
get_edit_tag_link( mixed $tag, mixed $taxonomy = 'post_tag' ) Retrieves the edit link for a tag.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | WP_Term | object) $tag The ID or term object whose edit link will be retrieved. Required |
| $taxonomy string | Optional. Taxonomy slug. Default 'post_tag'. |
Return Value
(string)
The edit tag link URL for the given tag.
Function Information
Since Version
2.7.0
Source File
wp-includes/link-template.php
Advertisement