wordpress / latest / hooks / edit_term_link.html

apply_filters( 'edit_term_link', string $link, int $term_id )

Filters the anchor tag for the edit link of a term.

Parameters

$link string
The anchor tag for the edit link.
$term_id int
Term ID.

Source

File: wp-includes/link-template.php. View all references

$link = $before . apply_filters( 'edit_term_link', $link, $term->term_id ) . $after;

Used By

Used By Description

Changelog

Version Description
3.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/edit_term_link