Elgg  Version 2.3
hooks/trigger/advanced.php

Trigger a hook with a default value and use the results to populate a menu.