'; } public function end_lvl( &$output, $depth = 0, $args = array() ) { $output .= ''; } function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { $object = $item->object; $type = $item->type; $title = $item->title; $description = $item->description; $permalink = $item->url; $is_current = false; foreach($item->classes as $key=>$class){ if(strpos($class, 'current') !== false) $is_current = true; } $classes = ($is_current) ? 'usa-current': ''; $output .= '