Port 'woocommerce_get_children' filter from 2.2-bleeding

@mikejolley Thought it might help to have this in the master branch, too. Just in case we forget about it later on.