title: How can I display the parent menu item's description using Wordpress walkers?
body: <p>Is there any way to pass a variable from start_el to start_lvl? I want to place the menu description in the wrapper of the submenu items.</p>
  
  <pre><code>class submenu_walker extends Walker_Nav_Menu
  {
      function start_lvl( &amp;$output, $depth = 0, $args = array() ) {
          $indent = str_repeat("\t", $depth);
          $output .= "\n$indent&lt;ul class='sub-menu'&gt;&lt;div class='menu-image-container'&gt;&lt;div class='menu-image'&gt;&lt;/div&gt;&lt;/div&gt;\n";
      }
      function end_lvl( &amp;$output, $depth = 0, $args = array() ) {
          $indent = str_repeat("\t", $depth);
          $output .= "$indent&lt;div class='clear'&gt;&lt;/div&gt;&lt;/ul&gt;\n";
      }
  }
  </code></pre>
  
  <p>I've tried to store the description as a variable in start_el, and access it using global in start_lvl... but it returns nothing.</p>
  
  <p>I'm really desperate for help on this, as so far I've had no results, or responses to this question in terms of answers.</p>
  
  <p>Can someone please help me with this? There are definitely some of you who know how to use the Wordpress walker menu.</p>