WordPress Get Menu Items

<?php $topMenuItems = wp_get_nav_menu_items(‘header-top-menu’ ); ?>

<ul>
<?php foreach($topMenuItems as $topMenu) { ?>
<li><a href=”<?php echo $topMenu->url; ?>”><?php echo $topMenu->title; ?></a></li>
<?php } ?>
</ul>