Try your search with a different keyword or use * as a wildcard.
@using Nop.Services.Plugins @using Nop.Services.Security @inject IPermissionService permissionService @inject IPluginManager adminMenuPluginManager @inject IXmlSiteMap siteMap; @{ var customer = await workContext.GetCurrentCustomerAsync(); //load sitemap await siteMap.LoadFromAsync("~/Areas/Admin/sitemap.config"); //standard (default) items var rootNode = siteMap.RootNode; //plugins var adminMenuPlugins = await adminMenuPluginManager.LoadAllPluginsAsync(customer); foreach (var adminMenuPlugin in adminMenuPlugins) { await adminMenuPlugin.ManageSiteMapAsync(rootNode); } //"Plugins" menu item should be visible when it has some child nodes var pluginNode = rootNode.ChildNodes.FirstOrDefault(x => x.SystemName == "Third party plugins"); if (pluginNode?.Visible ?? false) { pluginNode.Visible = pluginNode.ChildNodes.Any(x => x.Visible) && await permissionService.AuthorizeAsync(StandardPermissionProvider.ManagePlugins, customer); } //display menu items foreach (var item in rootNode.ChildNodes.Where(x => x.Visible)) { @await Html.PartialAsync("_MenuItem", item) } }