wp-includes/taxonomy.php


Lines:

1 to 100 of 190
<?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. */

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,