' . $term->description . "
"; - $output .= ""; - } - } - - // if ($args->theme_location === "footer" && in_array('menu-item-has-children', $item->classes, true)) { - // $output = $item->title; + // $output = ''; + // $output .= '' . $term->description . "
"; + // $output .= ""; + // } // } + + return $output; } add_filter('walker_nav_menu_start_el', 'wrap_parent_menu_item_buttons', 10, 4);