Elgg  Version 3.0
hooks/trigger/advanced.php

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