Manual:Hooks/UploadForm:BeforeProcessing

Details

 * $uploadFormObj: current SpecialUpload object

The hook function must return true (or at least something which doesn't evaluate as false). Otherwise, nothing happens, without any message to the user (unless the hook function itself takes care of that).