get_object_term_cache Wordpress function


Description:

Retrieves the taxonomy relationship to the term object id.


Syntax:


Arguments:

(int|array) $id Term object ID
(string) $taxonomy Taxonomy Name


Return Type:

(bool|array) Empty array if $terms found, but not $taxonomy. False if nothing is in cache for $taxonomy and $id.


Define At:

wp-includes/taxonomy.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_object_term_cache


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×