classes ) ? array () : (array) $object->classes; $class_names = join( ' ' , apply_filters( 'nav_menu_css_class' , array_filter( $classes ), $object ) ); ! empty ( $class_names ) and $class_names = ' class="'. esc_attr( $class_names ) . '"'; $output .= "
' . esc_attr( $object->description ) . '
' : ''; $title = apply_filters( 'the_title', $object->title, $object->ID ); if(isset($args)) { // al posto di item qui sotto c'era args e non funzionava, così pare funzionare, non visualizza più il primo però -.- $object_output = $args->before . "" . $args->link_before . $title . ' ' . $args->link_after . $args->after . $description; } // Since $output is called by reference we don't need to return anything. $output .= apply_filters( 'walker_nav_menu_start_el' , $object_output , $object , $depth , $args ); } } }