title);
$linkTitle = str_replace(' ', '', $lowerCaseTitle);
$liClasses = 'navbar-item '.$linkTitle;
$hasChildren = $args->walker->has_children;
$liClasses .= $hasChildren ? " has-dropdown is-hoverable": "";
$linkClasses = $hasChildren ? "" : "is-arrowless";
$output .= '
';
$output .= ''.$item->title.'';
// Adds has_children class to the item so end_el can determine if the current element has children
if ( $hasChildren ) {
$item->classes[] = "has_children";
}
}
public function start_lvl( &$output, $depth = 0, $args = array() ) {
$output .= '';
}
public function end_lvl (&$output, $depth = 0, $args = array()) {
$output .= "
";
}
public function end_el(&$output, $item, $depth = 0, $args = array(), $id = 0 ){
$output .= "";
}
}