$categories
Array ( [0] => WP_Term Object ( [term_id] => 10 [name] => Advisory Services [slug] => advisory-services [term_group] => 0 [term_taxonomy_id] => 10 [taxonomy] => category [description] => [parent] => 0 [count] => 7 [filter] => raw [cat_ID] => 10 [category_count] => 7 [category_description] => [cat_name] => Advisory Services [category_nicename] => advisory-services [category_parent] => 0 ) [1] => WP_Term Object ( [term_id] => 13 [name] => Transaction Law [slug] => transaction-law [term_group] => 0 [term_taxonomy_id] => 13 [taxonomy] => category [description] => [parent] => 10 [count] => 1 [filter] => raw [cat_ID] => 13 [category_count] => 1 [category_description] => [cat_name] => Transaction Law [category_nicename] => transaction-law [category_parent] => 10 ) )$category_id
10$category_slug
transaction-law transaction-law$parrent_id_cat
10$parrent_name_cat
Advisory Services