title: Wordpress: set ul menu class based on parent li class
body: <p>How can I do that? I am working on a custom menu funcitonality, I know I have to work with the start_lvl</p>
  
  <pre><code>public function start_lvl( &amp;$output, $depth = 0, $args = array() ) {
      $indent = str_repeat( "\t", $depth );
          $classes = get_parent_menu_item_classes(); // I NEED SOMETHING LIKE THIS
      if ( in_array( 'column-header', $classes ) ) { // get the classes here
          $output .= "\n$indent&lt;ul role=\"menu\" class=\" nav nav-list\"&gt;\n";
      } else {
          $output .= "\n$indent&lt;ul role=\"menu\" class=\" dropdown-menu\"&gt;\n";
      }
  }
  </code></pre>
  
  <p>Please advise :)</p>