I have taxonomies and sub-taxonomies :
- MainTaxo
- SubTaxo1
- SubTaxo2
taxonomy_select_nodes give me all ids of the selected taxonomy but if I put the MainTaxo id, it don't return me ids of SubTaxo1 and SubTaxo2.
$ids = taxonomy_select_nodes($mainTaxonomy_id, false);
Is there a native drupal function or should I do a query for that?