Taxonomies: categories, tags, ... (category)

edit_term_link()

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

get_edit_term_link()

Gets the URL for editing the specified taxonomy term.

get_taxonomies()

Gets the list of registered taxonomies. You can restrict the list to the desired parameters.

get_taxonomy()

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

get_term()

Gets data about a taxonomy element (term) by the provided ID.

get_term_by()

Gets the specified term (taxonomy element) by: name, slug, or term ID.

get_term_children()

Gets all child elements of the specified taxonomy element (categories) as an array.

get_term_field()

Gets the term field. The field is sanitized by the function sanitize_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()

Checks if the specified taxonomy is hierarchical. Conditional tag.

register_taxonomy()

Creates a new custom WordPress taxonomy. Allows you to change an existing taxonomy.

register_taxonomy_for_object_type()

Binds (adds) the specified taxonomy to the specified post 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 if the specified taxonomy exists.

term_description()

Gets the description of the term (taxonomy element: tags, categories, etc.) that is specified on the term creation/editing page.

term_exists()

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

term_is_ancestor_of()

Checks if the second term is a child of the first (all levels of nesting are checked). Conditional tag.

the_terms()

Outputs a list of links to terms (taxonomy elements) related to the specified post.

unregister_taxonomy()

Cancels the registration of the specified taxonomy (removes the taxonomy).

unregister_taxonomy_for_object_type()

Unlinks the taxonomy from the specified post type (or other object).

wp_count_terms()

Counts how many elements (terms) are in the taxonomy, with or without posts.

wp_delete_term()

Deletes a term (category, tag) from the Database.

wp_get_term_taxonomy_parent_id()

Gets the ID of the parent element of the taxonomy (term) for the specified one.

wp_insert_term()

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

wp_update_term()

Updates the term (taxonomy element) using the specified data.

wp_update_term_count()

Updates/recalculates the number of posts in a taxonomy element (term).