User
The following hooks are provided for User related events.
UserAdd
Executes as a user is being added.
Parameters
Variable | Type | Notes |
---|---|---|
toUserID | int | The id of the user being merged into. |
fromUserID | int | The id of the user being merged from. |
Response
No response supported
Example Code
<?php
add_hook('AfterClientMerge', 1, function($vars) {
// Perform hook code here...
});