Description
Display or retrieve edit term link with formatting.
Usage
<?php edit_term_link( $link, $before, $after, $term, $echo ) ?>
Parameters
- $link
- (string) (optional) Anchor text.
- Default: ''
- $before
- (string) (optional) Display before edit link.
- Default: ''
- $after
- (string) (optional) Display after edit link.
- Default: ''
- $term
- (object) (optional) Term object
- Default: null
- $echo
- (boolean) (optional)
- Default: true
Return Values
- (string)
- HTML content.
Examples
Notes
Filters
- 'edit_term_link':
apply_filters( 'edit_term_link', $link, $term->term_id )
Change Log
Since: 3.1.0
Source File
edit_term_link() is located in /wp-includes/link-template.php
.
Related