WPDev.one
Core Function
View Source on Trac ↗

edit_tag_link()

edit_tag_link( mixed $link = '', mixed $before = '', mixed $after = '', mixed $tag = null )

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

Parameters 1 required

Name / Type Description
$link
string

Optional. Anchor text. If empty, default is 'Edit This'. Default empty.

$before
string

Optional. Display before edit link. Default empty.

$after
string

Optional. Display after edit link. Default empty.

WP_Term

$tag Optional. Term object. If null, the queried object will be inspected. Default null.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
2.7.0
Source File
wp-includes/link-template.php
Advertisement