Tag Archives: pre_insert_term

wp_insert_term

Adds a new term to the database. Optionally marks it as an alias of an existing term.Error handling is assigned for the nonexistence of the $taxonomy and $term parameters before inserting. If both the term id and taxonomy exist previously, then an array will be returned that contains the term id and the contents of what is returned. The keys of the array are ‘term_id’ and ‘term_taxonomy_id’ containing numeric values.

3795

Continue reading