[wp-hackers] RE: Reference TermId or TermTaxonomyId for category plugin?

Jennifer Hodgdon yahgrp at poplarware.com
Sun Feb 8 05:37:38 GMT 2009


Dan Fellars wrote:
> If so, anyone know the easiest way to get the term_taxonomy_id if you
> have the term_id?

Try the get_term function (in wp-includes/taxonomy.php). That will 
return all the fields from both terms and term_taxonomy, given a term 
ID and the name of a taxonomy.

    --Jennifer


-- 
Jennifer Hodgdon * Poplar ProductivityWare
www.poplarware.com

Drupal/WordPress Sites, Themes, Modules/Plugins
Custom Web Programming, Web Databases
PHP, Perl, MySQL, JavaScript, XML, AJAX



More information about the wp-hackers mailing list