Toon alle categorieën binnen een bovenliggende hoofdcategorie

$args = array('orderby' => 'name', 'order' => 'ASC', 'hide_empty' => 0, 'parent' => 999, 'depth' => 1 );
$categories = get_categories( $args );
				
foreach ( $categories as $category ) 
{
    $id = $category->term_id;
    $link = get_category_link( $category->term_id );
    $titel = $category->name;
    $intro = $category->description;
    $teller = $category->count;
    echo "<a href=" . $link . " class='blk rc_400 duo_l duo12'><figure><div class='contour contour-vierkant'>";
    echo wp_get_attachment_image( $imgs, 'medium' );
    echo "</div></figure><header><h6>";
    echo $titel;
    echo "</h6></header></a>";
}