edit_term_link WordPress Filter Hook

The edit_term_link hook is used to edit the link for a given term. This can be useful for customizing the link text or changing the link destination.

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.


Top ↑

Source

File: wp-includes/link-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More