Elgg  Version 2.3
hooks/register/advanced.php

Registering for a plugin hook and changing the params.

Since
1.8.0