edit_term_link

SummerySummery

Displays or retrieves the edit term link with formatting.

Syntax

edit_term_link( string $link = '', string $before = '', string $after = '', WP_Term $term = null, bool $echo = true )

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: ''

$term

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

Default value: null

$echo

(bool) (Optional) Whether or not to echo the return.

Default value: true

ReturnReturn

(string|void) HTML content.

SourceSource

File: wp-includes/link-template.php


			

ChangelogChangelog

Changelog
Version Description
3.1.0 Introduced.
Scroll to Top