Both of these plugin triggers have been mentioned by @Craig in his reply to another question, but what they actually do is not so clear.
In /administrator/components/com_menus/models/menutypes.php
you have:
// Allow a system plugin to insert dynamic menu types to the list shown in menus: JEventDispatcher::getInstance()->trigger('onAfterGetMenuTypeOptions', array(&$list, $this));
In /administrator/components/com_menus/views/items/view.html.php
you have:
// Allow a system plugin to insert dynamic menu types to the list shown in menus: JEventDispatcher::getInstance()->trigger('onBeforeRenderMenuItems', array($this));
Can anyone explain what is the difference betweeen these two triggers? From the comments in the code it makes you think they do the same thing.
Rather than add a menu type, would it be possible to remove?