Function: wpmu_signup_user_notification

wpmu_signup_user_notification( string $user_login, string $user_email, string $key, array $meta )

Send a confirmation request email to a user when they sign up for a new user account (without signing up for a site at the same time). The user account will not become active until the confirmation link is clicked.

This is the notification function used when no new site has been requested.

Filter \'wpmu_signup_user_notification' to bypass this function or replace it with your own notification behavior.

Filter \'wpmu_signup_user_notification_email' and \'wpmu_signup_user_notification_subject' to change the content and subject line of the email sent to newly registered users.


Name Type(s) Default Value Description
$user_login string

The user's login name.

$user_email string

The user's email address.

$key string

The activation key created in wpmu_signup_user()

$meta array array()

Optional. Signup meta data. Default empty array.



WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.