(menu)
boolean o2menu_additem(string $menu_name, string $item_type, string $item_name, string $item_label, string $item_data, boolean $visible, boolean $active, string $item_ico, integer $position)
Add an item to an existing menu. If item is a menu ($item_type == "m") menu container is created too.
New item is inserted at $position in parent menu (starting from 1). If $position is zero, or not passed, then new item is appended at last position to parent menu.