Display post taxonomies tree
I was able to get all the items of a custom taxonomy for a post, like this:
$args=array('orderby'=>'parent',"fields" => "all"); $term_list = wp_get_post_terms($post->ID, 'tvr_amenity', $args);
My problem is that i would like to show the tree (respecting the parents)
So i would like to get them ordered by name and parent but i cant find anything related on codex..
any idea how?