Hi this is my category tree. |-1 | |-5 | |-6 |-2 |-3 |-4 Is there any ready-to-use function to check ids of categories in the same branch? Fg my function return id of current catgory "6" and now I want to get ids of categories in this branch - 5 and 1