Manual:Hooks/UserGetDefaultOptions

Details
This hook is run just before returning the options to the caller.
 * &$defaultOptions: Array of preference keys and their default values.