Home/Hooks/added_existing_user
ACTION

added_existing_user

Fires immediately after an existing user is added to a site. or could not be added.

wp-includes/ms-functions.php
Line 2289
2 Parameters
View Source

Usage

add_action( 'added_existing_user', 'your_callback_function', 10, 2 );

Action Callback:

function your_callback_function( $details['user_id'], $result ) {
    // Your code here
    
}

Parameters

$details['user_id']

Parameter 1

$result

Parameter 2

⚡ Action Hook

Action hooks allow you to insert custom code at specific points during WordPress execution. Actions do not return any values.