edit_term_link


edit_term_link ( $link = '', $before = '', $after = '', $term = null, $display = true )

Parameters:
  • (string) link Optional. Anchor text. If empty, default is 'Edit This'. Default empty.
  • (string) before Optional. Display before edit link. Default empty.
  • (string) after Optional. Display after edit link. Default empty.
  • (int|WP_Term|null) term Optional. Term ID or object. If null, the queried object will be inspected. Default null.
  • (bool) display Optional. Whether or not to echo the return. Default true.
Returns:
  • (string|void) HTML content.
Defined at:

Description

Displays or retrieves the edit term link with formatting.

Related Functions

get_term_link, get_edit_term_link, edit_tag_link, edit_post_link, edit_link

Top Google Results

User discussions

wpseek mobile