Function: wpmu_signup_user

wpmu_signup_user( string $user, string $user_email, array $meta )

Record user signup information for future activation.

This function is used when user registration is open but new site registration is not.

Parameters

Name Type(s) Default Value Description
$user string

The user's requested login name.

$user_email string

The user's email address.

$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.