get_term_children( ... )

Merges all term children into a single array of their IDs.

Parameters:
  • $term_id int
  • $taxonomy string