WordPress at a glance
Home Functions Taxonomies (Categories, Tags) Any taxonomy

Any taxonomy (category)

edit_term_link()

Displays/retrieves edit term link (html tag A), link to edit the specified taxonomy element.

get_edit_term_link()

Retrieves the URL for editing a given term.

get_taxonomies()

Retrieves a list of registered taxonomy names or objects.

get_taxonomy()

Gets an object containing settings (data) of the specified taxonomy.

get_term()

Get all Term data from database by Term ID.

get_term_by()

Get all Term data from database by Term field and data.

get_term_children()

Merge all term children into a single array of their IDs.

get_term_field()

Get sanitized Term field.

get_term_link()

Gets the URL for the archive page of a term (taxonomy item). The same as the link to the category page.

get_terms()

Retrieve the terms (items) of a given taxonomy or list of taxonomies by the given parameters.

is_taxonomy_hierarchical()

Whether the taxonomy object is hierarchical.

register_taxonomy()

Creates or modifies a taxonomy object.

register_taxonomy_for_object_type()

Add an already registered taxonomy to an object type.

sanitize_term()

Sanitize all fields of the taxonomy element (term) using the sanitize_term_field() function.

sanitize_term_field()

Prepares (cleanse) term field value for use it in a text or elsewhere (depends on cleaning context).

single_term_title()

Display or retrieve title for the current taxonomy (category, tag, etc.). Uses on term archive pages.

taxonomy_exists()

Checks that the taxonomy name exists.

term_description()

Retrieve term description.

term_exists()

Check if a given taxonomy element exists. Returns either term ID or a term array if the element (term) exists.

term_is_ancestor_of()

Check if a term is an ancestor of another term.

the_terms()

Display the terms in a list.

unregister_taxonomy()

Unregisters a taxonomy.

unregister_taxonomy_for_object_type()

Remove an already registered taxonomy from an object type.

wp_count_terms()

Count how many terms are in Taxonomy.

wp_delete_term()

Removes a term from the database.

wp_get_term_taxonomy_parent_id()

Returns the term's parent's term_ID.

wp_insert_term()

Adds a new taxonomy element (term, category) into a database.

wp_update_term()

Update term based on arguments provided.