invited_user_email

最后更新于:2021-11-27 01:53:16

apply_filters( ‘invited_user_email’, array $new_user_email, int $user_id, array $role, string $newuser_key )

Filters the contents of the email sent when an existing user is invited to join the site.

参数

$new_user_email

(array)
Used to build gc_mail().

  • ‘to’
    (string) The email address of the invited user.
  • ‘subject’
    (string) The subject of the email.
  • ‘message’
    (string) The content of the email.
  • ‘headers’
    (string) Headers.

$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

View on Trac