do_action( 'added_existing_user', int $user_id, true|WP_Error $result )

Fires immediately after an existing user is added to a site.

Parameters

$user_id

(int) User ID.

$result

(true|WP_Error) True on success or a WP_Error object if the user doesn't exist or could not be added.

Source

File: wp-includes/ms-functions.php

View on Trac

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/added_existing_user