is there option to create category with custom id like custom post id is created using parameter import_id ?
$post = array(
what i want to do is create custom post type ( will import data from table which have category id attached ) using wp_insert_post
so i want to create categories with custom id that are attached to products table
right now i'm using custom field added to categories as OLD_CATEGORY_ID and get posts against this custom field id
categories are also imported to wordpress
or is there another better way ?
or this is the ONLY way ? :)