get_taxonomy

Retrieves the taxonomy object of $taxonomy.

Description

get_taxonomy( $taxonomy ); 

Parameters (1)

0. $taxonomy
The taxonomy.

Usage

  1. if ( !function_exists( 'get_taxonomy' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bbpress/bb-includes/backpress/functions.wp-taxonomy.php'; 
  3.  
  4. // The taxonomy. 
  5. $taxonomy = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = get_taxonomy($taxonomy); 
  9.  

Defined (1)

The function is defined in the following location(s).

/bp-forums/bbpress/bb-includes/backpress/functions.wp-taxonomy.php  
  1. function get_taxonomy( $taxonomy ) { 
  2. global $wp_taxonomy_object; 
  3. return $wp_taxonomy_object->get_taxonomy( $taxonomy );