apply_filters( 'get_edit_term_link', string $location, int $term_id, string $taxonomy, string $object_type )
- Since
- 3.1.0
Filters the edit link for a term.
Compatibility
- WordPress
- since 3.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$locationstring- The edit link.
$term_idint- Term ID.
$taxonomystring- Taxonomy name.
$object_typestring- The object type.
Where this hook fires · 1
wp-includes/link-template.php:1121get_edit_term_link()
Source code
* * @param string $location The edit link. * @param int $term_id Term ID. * @param string $taxonomy Taxonomy name. * @param string $object_type The object type. */ return apply_filters( 'get_edit_term_link', $location, $term_id, $taxonomy, $object_type );} /** * Displays or retrieves the edit term link with formatting. * * @since 3.1.0Changelog
Introduced in 3.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.