Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/ms-functions.php | do_action | 2228 | /** * Fires immediately after an existing user is added to a site. * * @since MU (3.0.0) * * @param int $user_id User ID. * @param true|WP_Error $result True on success or a WP_Error object if the user doesn't exist * or could not be added. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $user_id | User ID. |
true|WP_Error | $result | True on success or a WP_Error object if the user doesn't exist |