Manual:Hooks/CheckUserInsertLogEventRow
See also: Extension:CheckUser/Hooks/CheckUserInsertPrivateEventRow and Extension:CheckUser/Hooks/CheckUserInsertChangesRow
Category:Extension hooks#CheckUserInsertLogEventRow
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:CheckUserInsertLogEventRow 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_log_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_log_event row.$id
- The ID of the log entry that is associated with this cu_log_event row.$rc
- Optional. The RecentChanges object associated with the request that caused the cu_log_event row insert (if one exists).