WordPress at a glance
action is not described

invite_user action-hook . WP 4.4.0

Fires immediately after an existing user is invited to join the site, but before the notification is sent.

Usage

add_action( 'invite_user', 'action_function_name_9336', 10, 3 );
function action_function_name_9336( $user_id, $role, $newuser_key ){
	// action...
}
$user_id(int)
The invited user's ID.
$role(array)
Array containing role information for the invited user.
$newuser_key(string)
The key of the invitation.

Changelog

Since 4.4.0 Introduced.

Where the hook is called

In file: /wp-admin/user-new.php
invite_user
wp-admin/user-new.php 111
do_action( 'invite_user', $user_id, $role, $newuser_key );

Where in WP core the hook is used WordPress

Usage not found.