includes/cs-bootstrap-register-menu.php
/* Start of the <ul>
   *
   * Note on $depth: Counterintuitively, $depth here means the "depth right before we start this menu".
   *                   So basically add one to what you'd expect it to be
   */
Start of the 
Note on $depth: Counterintuitively, $depth here means the "depth right before we start this menu".
So basically add one to what you'd expect it to be
Start of the Note on $depth : Counterintuitively $depth here means the " depth right before we start this menu " . So basically add one to what you ' d expect it to be
function start_lvl(&$output, $depth)
  {
    $tabs = str_repeat("\t", $depth);
    if ($depth == 0 || $depth == 1) { 
      $output .= "\n{$tabs}<ul class=\"dropdown-menu\">\n";
    } else {
      $output .= "\n{$tabs}<ul>\n";
    }
    return;
  }
function start_lvl ( & $ output , $ depth ) { $ tabs = str_repeat ( " \t " , $ depth ) ; if ( $ depth == 0 || $ depth == 1 ) { $ output .= " \n { $ tabs } <ul class= \" dropdown-menu \" > \n " ; } else { $ output .= " \n { $ tabs } <ul> \n " ; } return ; }
Start of the <ul>
 Note on $depth: Counterintuitively, $depth here means the "depth right before we start this menu".
Start of the <ul > Note on $depth : Counterintuitively $depth here means the " depth right before we start this menu " .
// If we are about to start the first submenu, we need to give it a dropdown-menu class //really, level-1 or level-2, because $depth is misleading here (see note above)