get_edit_term_link() WP 1.0
Retrieves the URL for editing a given term.
Works based on: admin_url(), add_query_arg()
Basis of: edit_term_link()
1 time = 0.000355s = fast | 50000 times = 2s = fast | PHP 7.0.2, WP 4.4.2
Hooks from the function
Return
String/null. The edit term link URL for the given term, or null on failure.
Usage
get_edit_term_link( $term_id, $taxonomy, $object_type );
- $term_id(int) (required)
- Term ID.
- $taxonomy(string)
- Taxonomy.
Default: taxonomy of the term identified by $term_id - $object_type(string)
- The object type. Used to highlight the proper post type menu on the linked page.
Default: first object_type associated with the taxonomy
Changelog
Since 3.1.0 | Introduced. |
Since 4.5.0 | The $taxonomy parameter was made optional. |
Code of get_edit_term_link() get edit term link WP 5.6
Related Functions
From tag: Link (URL)
- admin_url()
- attachment_url_to_postid()
- build_query()
- comment_link()
- content_url()
- get_comments_link()
- get_comments_pagenum_link()
- get_edit_post_link()
- get_home_url()
- get_next_comments_link()
- get_post_embed_url()
- get_post_permalink()
- get_post_type_archive_link()
More from category: Any taxonomy
- edit_term_link()
- get_taxonomies()
- get_taxonomy()
- get_term()
- get_term_by()
- get_term_children()
- get_term_field()
- get_term_link()
- get_terms()