Looks like Boss talk creates it as it generates the menu.
Seeing that you are taking over the addon you can pretty much change that code to what you want.
It would simply mean another layer of menu ( 'group' ). Not knowing how the next menu knows what the previous menu is I can't give you precise code but simply creating another 'group' element for each parent menu for the zones and putting the zone related menus under it as a child menu ( however that is done ).
Now, after looking at the bosstalk code I can see what you were asking.
Here is a portion of the yell menu generate code:
Lua Code:
["User"] = {
type = 'group',
name = L["User Yells"],
desc = " ",
args = {
["World"] = {
type = 'group',
name = L["World"],
desc = " ",
args = {},
order = 1
},
["Dungeon"] = {
type = 'group',
name = L["Instance"],
desc = " ",
args = {},
order = 2
},
}
}
This shows you how you can code the other menu the way you want. Here is how it looks like you will be able to do to convert the Vanilla trio of groups into sub groups of another zone level group.
Lua Code:
["Vanilla"] = {
type = "group",
name = "Vanilla",
desc = "",
args = {
["Vanilla Events"] = {
type = 'group',
name = "Vanilla Events",
desc = " ",
args = {},
order = 1
},
["Vanilla Dungeons"] = {
type = 'group',
name = "Vanilla Dungeons",
desc = " ",
args = {},
order = 2
},
["Vanilla Raids"] = {
type = 'group',
name = "Vanilla Raids",
desc = " ",
args = {},
order = 3
},
},
order = 1,
}
In other words the args entry is where you place child menu contents. Hopefully this helps you understand a little better.