Manual:Hooks/FormatUserMessage

Details

 * $subject: Title of the message.
 * &$text: Text of the message.
 * $signature: Signature that they would like to leave.