invite_user
最后更新于:2021-11-27 01:56:25
do_action( ‘invite_user’, int $user_id, array $role, string $newuser_key )
Fires immediately after an existing user is invited to join the site, but before the notification is sent.
参数
- $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.
源文件
文件: gc-admin/user-new.php