How to remove <ul> in the navigation menu in WordPress?
<p>The following code </p>

<pre><code>wp_nav_menu( array(
        'theme_location' =&gt; 'primary',
        'container'          =&gt; '',
        'menu_id'            =&gt; 'primary-menu',
        'items_wrap'         =&gt; '&lt;a class="mdl-navigation__link"&gt;%3$s&lt;/a&gt;'
    )
);
</code></pre>

<p>will display an html code</p>

<pre><code>&lt;ul aria-expanded="false" class=" nav-menu"&gt;
  &lt;li class="page_item page-item-2"&gt;
    &lt;a href="http://localhost/gabriel/sample-page/"&gt;Sample Page&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</code></pre>

<p>in the browser. What I want to do is, I'd like to remove <code>&lt;ul&gt;</code> and <code>&lt;li&gt;</code> wrapper in <code>&lt;a&gt;</code> Can you help me?</p>