get_term_to_edit ( $id, $taxonomy )
- (int|object) id Term ID or object.
- (string) taxonomy Taxonomy name.
- (string|int|null|WP_Error) Will return empty string if $term is not an object.
- Introduced in WordPress: 2.3.0
- Deprecated in WordPress: —
Sanitizes Term for editing.Return value is sanitize_term() and usage is for sanitizing the term for
editing. Function is for contextual and simplicity.