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:
  • 4: .

Description

Retrieves the URL for editing a given term.

Related Functions

get_edit_user_link, edit_term_link, get_edit_tag_link, get_term_link, get_edit_post_link

Top Google Results

User discussions

wpseek mobile