A coworker who is transitioning from Maya asked for this- delete a parent and the children are deleted as well. This script creates a delete_with_children operator and overrides the default delete.
As always, I can verify this script works on 3.6.13 LTS. I don’t know if it works on newer versions and I have no plans to test that or do anything with the whole extensions fiasco. Use as is if you want, make changes if you need, I don’t plan on making any further changes myself
I don’t recall which version of blender added object.children_recursive() but have you verified intended operation on “grandchildren”, “great grandchildren”, etc.
This thread isn’t the place to have a full-blown discussion, so suffice it to say I find the extensions system poorly designed and poorly implemented, and I’m not interested in contributing to it at this point. I’d be happy to share more thoughts in an appropriate thread