Manual:Hooks/GetAutoPromoteGroups

Details

 * &$user: user to promote.
 * &$promote: groups that will be added.