> $megaCategories */ if (!function_exists('render_mega_category_children')) { /** * @param array> $children */ function render_mega_category_children(array $children, int $depth = 1): void { if ($children === [] || $depth > 3) { return; } ?>