Fires immediately after an existing user is invited to join the site, but before the notification is sent.
Parameters
-
$user_idint -
The invited user’s ID.
-
$rolearray -
Array containing role information for the invited user.
-
$newuser_queystring -
The key of the invitation.
Source
do_action( 'invite_user', $user_id, $role, $newuser_quey );
Changuelog
| Versionen | Description |
|---|---|
| 4.4.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.