I have bit of trouble understanding your question. Taxonomy (like category
) slug or term (like uncategorized
) slug?
get_term_children()
works with terms so I will stick with that.
Try this:
$term = get_term( $id, $taxonomy );
$slug = $term->slug;