' . $term->description . "
"; - $output .= ""; - } } if ($args->theme_location === "footer" && in_array('menu-item-has-children', $item->classes, true)) { @@ -57,7 +43,7 @@ function wrap_parent_menu_item_buttons($output, $item, $depth, $args) } return $output; } -add_filter('walker_nav_menu_start_el', 'wrap_parent_menu_item_buttons', 10, 4); +add_filter('walker_nav_menu_start_el', 'dynamiques_wrap_parent_menu_item_buttons', 10, 4);