edit_tag_link

SummerySummery

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

Syntax

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

ParametersParameters

$link

(string) (Optional) Anchor text. If empty, default is 'Edit This'.

Default value: ''

$before

(string) (Optional) Display before edit link.

Default value: ''

$after

(string) (Optional) Display after edit link.

Default value: ''

$tag

(WP_Term) (Optional) Term object. If null, the queried object will be inspected.

Default value: null

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
2.7.0 Introduced.
Scroll to Top