Get category ID after wp_insert_term

It should be a key of term_id, so echo out $cat_id['term_id'] and you should get the new terms ID.

Leave a Comment

error code: 523