Manual:Hooks/ApiOptions

Details

 * : Calling ApiOptions object
 * : User object whose preferences are being changed
 * : Associative array of preference name => value
 * : Array of strings specifying which options kinds to reset. See and  for possible values.