<?php
/**
 * @var $menu_location
 */

if ( has_nav_menu( $menu_location ) ) { ?>

	<div class="header-secondary-menu-wrapper">
		<ul class="menu menu-list-with-children">

			<?php wp_nav_menu( array(
				'theme_location' => $menu_location,
				'container'      => '',
				'items_wrap'     => '%3$s',
				'walker'         => new WalkerMainNavMenu(),
				'fallback_cb'    => 'wpj_display_empty_menu_assignment_link'
			) ); ?>

		</ul>
	</div>

<?php }