Term (taxonomies terms) (tag)
| category_exists() | Checks if the specified category exists. If it does, it returns the ID of that category. |
| 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. |
| get_the_term_list() | Displays a list of links to taxonomy elements (e.g. tags) related to a specified post. |
| get_the_terms() | Gets the taxonomy elements (terms) that are attached to the specified post. |
| has_term() | Checks if the specified post is associated with the specified taxonomy terms. |
| is_object_in_term() | Defines whether the specified object is associated with any of the specified taxonomy elements (term). Specific term(s) can be provided to check the association. |
| tag_exists() | Checks if the specified tag exists. If it exists, it returns the ID or an array of data for that tag. |
| the_terms() | Outputs a list of links to terms (taxonomy elements) related to the specified post. |
| wp_delete_object_term_relationships() | Destroys all relationships of the object (post, page) with the specified taxonomy(ies). |
| wp_delete_term() | Deletes a term (category, tag) from the Database. |
| wp_get_object_terms() | Gets the terms (taxonomy elements) related to the given object(s) (posts) in the specified taxonomy. |
| wp_get_term_taxonomy_parent_id() | Gets the ID of the parent element of the taxonomy (term) for the specified one. |
| wp_insert_category() | Inserts a new category into the database. Or updates an existing category by specifying a category ID. |
| wp_insert_term() | Adds a new taxonomy element (term, category) into a database. |
| wp_set_object_terms() | Attaches a post to a term (taxonomy element). For example, places a post in the specified category. |
| wp_set_post_terms() | Sets the terms for specified post (sets categories for post). |
| WP_Tax_Query{} | The class creates the JOIN and WHERE parts of the SQL query, which, in addition to the main query, will filter the result by the specified terms (taxonomy elements). |
| WP_Term{} | Class of the core, which is used to obtain a taxonomy element or to convert the provided term data into a standard object. |
| WP_Term_Query{} | Class used for creating queries for taxonomy elements (terms). |
| 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). |