0
$term = array(
'vid' => 1, // Voacabulary ID
'name' => $data[3], // Term Name
'parent' => 181, // (Optional) Term ID of a parent term
);
taxonomy_save_term($term);
Comment obtenir le terme ID qui vient d'être ajouté?Comment puis-je obtenir le terme id après avoir utilisé taxonomy_save_term?