[wp-hackers] seeking a built-in wp function that does..

Haluk Karamete halukkaramete at gmail.com
Thu Apr 19 19:06:01 UTC 2012


Is there a built in wordpress function that let's me look up the
"parent" field of the "wp_term_taxonomy" table if I pass the TT_ID to
it?

something like

get_value ( $wp_table_name, $id_fieldname, $id_value,
$the_field_info_to_retrieve )

Example
get_value ( "wp_term_taxonomy", "term_taxonomy_id", "parent");


More information about the wp-hackers mailing list