edit_tag_link

Definition:
function edit_tag_link( $link = '', $before = '', $after = '', $tag = null ) {}

Display or retrieve edit tag link with formatting.

Parameters

  • string $link: Optional. Anchor text.
  • string $before: Optional. Display before edit link.
  • string $after: Optional. Display after edit link.
  • int|object $tag: Tag object or ID

Return values

returns:HTML content.

Defined filters

  • edit_tag_link
    apply_filters( 'edit_tag_link', $link )

Source code

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

	$link = edit_term_link( $link, '', '', false, $tag );

	echo $before . apply_filters( 'edit_tag_link', $link ) . $after;

}

1006

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: