Custom Post-type not returning the right child_of

WP_Query doesn’t have child_of argument.

All you can do is to add post_parent argument, but it will work a little bit different – it selects only posts with parent set to given page. (It will return only direct children, and not grandchildren of given page/post).

tech