Googling get_terms
gives the WP developer hub page for get_terms
as the first result, for which the first example is this:
$terms = get_terms( 'post_tag', array(
'hide_empty' => false,
) );
Using this as a basis we get:
$args = array(
'taxonomy' => 'product_cat',
'number' => 5,
'orderby' => 'name',
'parent' => 11,
'hide_empty' => true,
);
$terms = get_terms( $args );