get_term_to_edit


get_term_to_edit ( $id, $taxonomy )

Parameters:
  • (int|object) id Term ID or object.
  • (string) taxonomy Taxonomy name.
Returns:
  • (string|int|null|WP_Error) Will return empty string if $term is not an object.
Defined at:

Description

Sanitizes term for editing.Return value is sanitize_term() and usage is for sanitizing the term for editing. Function is for contextual and simplicity.

Related Functions

get_terms_to_edit, get_user_to_edit, get_category_to_edit, get_tags_to_edit, get_post_to_edit

Top Google Results

User discussions

wpseek mobile