How to insert an array of terms using wp_insert_term?

WP provides a function to insert terms:

<?php wp_insert_term( $term, $taxonomy, $args = array() ); ?> 

I have 60 $terms, each has its own $args, I want to prepare the 60 terms as an array, then, insert them at once. Is this posible? How?

Related posts

Leave a Reply

1 comment