Parsed: 126225

<?php

/**
 * Core Taxonomy API
 *
 * @package WordPress
 * @subpackage Taxonomy
 */

//
// Taxonomy registration.
//

/* function create_initial_taxonomies() – Creates the initial taxonomies. */

/* function get_taxonomies() – Retrieves a list of registered taxonomy names or objects. */

/* function get_object_taxonomies() – Return the names or objects of the taxonomies which are registered for the requested object or object type, such as
a post object or post type name. */

/* function get_taxonomy() – Retrieves the taxonomy object of $taxonomy. */

/* function taxonomy_exists() – Determines whether the taxonomy name exists. */

/* function is_taxonomy_hierarchical() – Determines whether the taxonomy object is hierarchical. */

/* function register_taxonomy() – Creates or modifies a taxonomy object. */

/* function unregister_taxonomy() – Unregisters a taxonomy. */

/* function get_taxonomy_labels() – Builds an object with all taxonomy labels out of a taxonomy object. */

/* function register_taxonomy_for_object_type() – Add an already registered taxonomy to an object type. */

/* function unregister_taxonomy_for_object_type() – Remove an already registered taxonomy from an object type. */

//
// Term API.
//

/* function get_objects_in_term() – Retrieve object_ids of valid taxonomy and term. */

/* function get_tax_sql() – Given a taxonomy query, generates SQL to be appended to a main query. */

/* function get_term() – Get all Term data from database by Term ID. */

/* function get_term_by() – Get all Term data from database by Term field and data. */

/* function get_term_children() – Merge all term children into a single array of their IDs. */

/* function get_term_field() – Get sanitized Term field. */

/* function get_term_to_edit() – Sanitizes Term for editing. */

/* function get_terms() – Retrieves the terms in a given taxonomy or list of taxonomies. */

/* function add_term_meta() – Adds metadata to a term. */

/* function delete_term_meta() – Removes metadata matching criteria from a term. */

/* function get_term_meta() – Retrieves metadata for a term. */

/* function update_term_meta() – Updates term metadata. */

/* function update_termmeta_cache() – Updates metadata cache for list of term IDs. */

/* function has_term_meta() – Get all meta data, including meta IDs, for the given term ID. */

/* function register_term_meta() – Registers a meta key for terms. */

/* function unregister_term_meta() – Unregisters a meta key for terms. */

/* function term_exists() – Determines whether a taxonomy term exists. */

/* function term_is_ancestor_of() – Check if a term is an ancestor of another term. */

/* function sanitize_term() – Sanitize Term all fields. */

/* function sanitize_term_field() – Cleanse the field value in the term based on the context. */

/* function wp_count_terms() – Count how many terms are in Taxonomy. */

/* function wp_delete_object_term_relationships() – Will unlink the object from the taxonomy or taxonomies. */

/* function wp_delete_term() – Removes a term from the database. */

/* function wp_delete_category() – Deletes one existing category. */

/* function wp_get_object_terms() – Retrieves the terms associated with the given object(s), in the supplied taxonomies. */

/* function wp_insert_term() – Adds a new term to the database. */

/* function wp_set_object_terms() – Create Term and Taxonomy Relationships. */

/* function wp_add_object_terms() – Add term(s) associated with a given object. */

/* function wp_remove_object_terms() – Removes term(s) associated with a given object. */

/* function wp_unique_term_slug() – Will make slug unique, if it isn’t already. */

/* function wp_update_term() – Updates term based on arguments provided. */

/* function wp_defer_term_counting() – Enable or disable term counting. */

/* function wp_update_term_count() – Updates the amount of terms in taxonomy. */

/* function wp_update_term_count_now() – Perform term count update immediately. */

//
// Cache.
//

/* function clean_object_term_cache() – Removes the taxonomy relationship to terms from the cache. */

/* function clean_term_cache() – Removes all of the term IDs from the cache. */

/* function clean_taxonomy_cache() – Cleans the caches for a taxonomy. */

/* function get_object_term_cache() – Retrieves the cached term objects for the given object ID. */

/* function update_object_term_cache() – Updates the cache for the given term object ID(s). */

/* function update_term_cache() – Updates terms in cache. */

//
// Private.
//

/* function _get_term_hierarchy() – Retrieves children of taxonomy as Term IDs. */

/* function _get_term_children() – Get the subset of $terms that are descendants of $term_id. */

/* function _pad_term_counts() – Add count of children to parent count. */

/* function _prime_term_caches() – Adds any terms from the given IDs to the cache that do not already exist in cache. */

//
// Default callbacks.
//

/* function _update_post_term_count() – Will update term count based on object types of the current taxonomy. */

/* function _update_generic_term_count() – Will update term count based on number of objects. */

/* function _split_shared_term() – Create a new term for a term_taxonomy item that currently shares its term
with another term_taxonomy. */

/* function _wp_batch_split_terms() – Splits a batch of shared taxonomy terms. */

/* function _wp_check_for_scheduled_split_terms() – In order to avoid the _wp_batch_split_terms() job being accidentally removed,
check that it’s still scheduled while we haven’t finished splitting terms. */

/* function _wp_check_split_default_terms() – Check default categories when a term gets split to see if any of them need to be updated. */

/* function _wp_check_split_terms_in_menus() – Check menu items when a term gets split to see if any of them need to be updated. */

/* function _wp_check_split_nav_menu_terms() – If the term being split is a nav_menu, change associations. */

/* function wp_get_split_terms() – Get data about terms that previously shared a single term_id, but have since been split. */

/* function wp_get_split_term() – Get the new term ID corresponding to a previously split term. */

/* function wp_term_is_shared() – Determine whether a term is shared between multiple taxonomies. */

/* function get_term_link() – Generate a permalink for a taxonomy term archive. */

/* function the_taxonomies() – Display the taxonomies of a post with available options. */

/* function get_the_taxonomies() – Retrieve all taxonomies associated with a post. */

/* function get_post_taxonomies() – Retrieve all taxonomies of a post with just the names. */

/* function is_object_in_term() – Determine if the given object is associated with any of the given terms. */

/* function is_object_in_taxonomy() – Determine if the given object type is associated with the given taxonomy. */

/* function get_ancestors() – Get an array of ancestor IDs for a given object. */

/* function wp_get_term_taxonomy_parent_id() – Returns the term’s parent’s term_ID. */

/* function wp_check_term_hierarchy_for_loops() – Checks the given subset of the term hierarchy for hierarchy loops. */

/* function is_taxonomy_viewable() – Determines whether a taxonomy is considered "viewable". */

/* function is_term_publicly_viewable */

/* function wp_cache_set_terms_last_changed() – Sets the last changed time for the ‘terms’ cache group. */

/* function wp_check_term_meta_support_prefilter() – Aborts calls to term meta if it is not supported. */