get_edit_term_link WordPress Filter Hook

The get_edit_term_link WordPress hook is used to get the link to edit a given term. This is useful for creating links to edit terms in the admin interface.

apply_filters( 'get_edit_term_link', string $location, int $term_id, string $taxonomy, string $object_type ) #

Filters the edit link for a term.


Parameters

$location

(string)The edit link.

$term_id

(int)Term ID.

$taxonomy

(string)Taxonomy name.

$object_type

(string)The object type.


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