title: How to modify url in wp_nav_menu?
body: <p>I have:</p>
  
  <pre><code>wp_nav_menu(array(
              'theme_location' =&gt; 'header-menu',
              'depth' =&gt; 1,
              'container' =&gt; 'div',
              'link_before'     =&gt; '',
              'link_after'      =&gt; '',
          )
  );
  </code></pre>
  
  <p>and this give me:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li class="page_item page-item-1"&gt;
          &lt;a href="http://link1"&gt;link1&lt;/a&gt;
      &lt;/li&gt;
      &lt;li class="page_item page-item-2"&gt;
          &lt;a href="http://link2"&gt;link2&lt;/a&gt;
      &lt;/li&gt;
      &lt;li class="page_item page-item-3"&gt;
          &lt;a href="http://link3"&gt;link3&lt;/a&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>but I want to replace url in links from:</p>
  
  <pre><code>"http://link*" 
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>"javascript:myfunc('http://link*')";
  </code></pre>
  
  <p>How to do it?</p>