wp_insert_term( ... )

Adds a new term to the database.

Parameters:
  • $term string
  • $taxonomy string
  • $args array | string