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: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Displays or retrieves the edit term link with formatting.