WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about invited_user_email

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/user-new.php apply_filters 165 /**
* Filters the contents of the email sent when an existing user is invited to join the site.
*
* @since 5.6.0
*
* @param array $new_user_email {
* Used to build wp_mail().
*
* @type string $to The email address of the invited user.
* @type string $subject The subject of the email.
* @type string $message The content of the email.
* @type string $headers Headers.
* }
* @param int $user_id The invited user's ID.
* @param array $role Array containing role information for the invited user.
* @param string $newuser_key The key of the invitation.
*
*/

Hook Parameters

Parameter Type Name Description
array $new_user_emai l {
int $user_id The invited user's ID.
array $role Array containing role information for the invited user.
string $newuser_key The key of the invitation.