WordPress at a glance

Term (taxonomies terms) (tag)

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.

get_the_term_list()

Retrieve a post's terms as a list with specified format.

get_the_terms()

Gets the taxonomy elements (terms) that are attached to the specified post.

has_term()

Check if the current post has any of given terms.

is_object_in_term()

Determine if the given object is associated with any of the given terms.

the_terms()

Display the terms in a list.

wp_delete_object_term_relationships()

Will unlink the object from the taxonomy or taxonomies.

wp_delete_term()

Removes a term from the database.

wp_get_object_terms()

Retrieves the terms associated with the given object(s), in the supplied taxonomies.

wp_get_term_taxonomy_parent_id()

Returns the term's parent's term_ID.

wp_insert_category()

Updates an existing Category or creates a new Category.

wp_insert_term()

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

wp_set_object_terms()

Create Term and Taxonomy Relationships.

wp_set_post_terms()

Set the terms for a post.

wp_update_term()

Update term based on arguments provided.