Function: get_edit_tag_link

get_edit_tag_link( integer $tag_id, string $taxonomy )

Retrieves the edit link for a tag.

Shortcut: getl

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$tag_id integer

Tag ID.

$taxonomy string 'post_tag'

Optional. Taxonomy slug. Default 'post_tag'.



The edit tag link URL for the given tag.

WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.