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

In this article

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

Parameters

$user_idint
User ID.
$resulttrue|WP_Error
True on success or a WP_Error object if the user doesn’t exist or could not be added.

Source

do_action( 'added_existing_user', $details['user_id'], $result );

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.