title: how to insert shortcode into wordpress menu
body: <p>I have made a menu item with this code.
  The menu item shows up but the shortcode output is not there.
  Is there something I can add or a different method that will do this.
  I have added also in hopes this might help.</p>
  
  <pre><code>add_filter('wp_nav_items', 'do_shortcode', 7);
  </code></pre>
  
  <p>Or maybe someone knows this is not possible and can tell me.</p>
  
  <pre><code>/* Nav Menu */
  function add_profile_link_to_nav(){ 
   if ( is_user_logged_in() ) { ?&gt; 
  
  &lt;ul&gt; 
    &lt;li class="menu-item"id="one"&gt; &lt;a href="http://example.com/members/"&gt;All  Members&lt;/a&gt;
    &lt;ul class="sub-menu"&gt; 
        &lt;li class="menu-item"&gt;&lt;?php echo custom_execute_shortcode(); ?&gt; &lt;/li&gt;
    &lt;/ul&gt; 
   &lt;/li&gt;
  &lt;/ul&gt;    &lt;!--end menu---&gt;
  &lt;?php } 
  }
  add_action( "wp_nav_items","add_profile_link_to_nav" );
  
  function custom_execute_shortcode() {
  $myfunction= '[my shortcode"]';
  $myfunction_parsed = do_shortcode($myfunction);
  return $myfunction_parsed;
  }
  </code></pre>
  
  <p>Thanks</p>