2020-05-01 / 6034阅 / 悠然
Sanitizes Term for editing.
Return value is sanitize_term() and usage is for sanitizing the term for editing. Function is for contextual and simplicity.
(int|object)
(Required)
Term ID or object.
(string)
(Required)
Taxonomy name.
(string|int|null|WP_Error) Will return empty string if $term is not an object.