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

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)