Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

get_term_to_edit()

3 tags 1 category

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

Inputs: $id (int|object): Term ID or object. $taxonomy (string): Taxonomy name.

Returns string|int|null|WP_Error: Will return empty string if $term is not an object.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…