i am coding a script. and its adding categories wp_create_category or wp_insert_category. but on the homepage i cannot view category hierarchy.
i searched database, and find a value in the options table called category_children. it is not affecting from wp insert/create category funcitons. if i was update manually, it works great. but there is a lot of category. is there any solution for this?
- The topic ‘wp insert/create category doesnt refresh hierarchy’ is closed to new replies.