get_edit_term_link
get_edit_term_link ( $term, $taxonomy = '', $object_type = '' )
Parameters:- (int|WP_Term|object) term The ID or term object whose edit link will be retrieved.
- (string) taxonomy Optional. Taxonomy. Defaults to the taxonomy of the term identified by `$term`.
- (string) object_type Optional. The object type. Used to highlight the proper post type menu on the linked page. Defaults to the first object_type associated with the taxonomy.
Returns:- (string|null) The edit term link URL for the given term, or null on failure.
Defined at:Change Log: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Retrieves the URL for editing a given term.