Manual:Hooks/CheckUserInsertPrivateEventRow
See also: Extension:CheckUser/Hooks/CheckUserInsertLogEventRow and Extension:CheckUser/Hooks/CheckUserInsertChangesRow
Category:Extension hooks#CheckUserInsertPrivateEventRow
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CheckUserInsertPrivateEventRow extensions.
Parameters
&$ip
- The IP address that will be stored in the row, which can be modified&$xff
- The XFF header that will be stored in the row, which can be modified&$row
- The row that will be stored in the cu_private_event after a few more modifications, which can be modified by code that hooks onto this hook&$user
- The user who made the request that caused the cu_private_event row.$rc
- Optional. The RecentChanges object associated with the request that caused the cu_private_event row insert (if one exists).