Answers:
您将要使用taxonomy_save_term。您传递给taxonomy_save_term的数组应如下所示。
$term = array(
 'name' => 'Taxonomy Term 1',
 'vid' => 1, // The VID of the vocabulary this term should be saved under
 'description' => 'A description of this term', // Not required
 'weight' => 5, // Not required
);
taxonomy_save_term($term);