Action hook 'added_existing_user'

in WP Core File wp-includes/ms-functions.php at line 2237

Description

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

Occurrences

Filename Line Number
wp-includes/ms-functions.php 2237

Parameters

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 or could not be added.

PHP Doc

/**
		 * 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.
		 */