Function: signup_user

signup_user( string $user_name, string $user_email, WP_Error | string $errors )

Setup the new user signup process


Name Type(s) Default Value Description
$user_name string ''

The username.

$user_email string ''

The user's email.

$errors WP_Error | string ''

A WP_Error object containing existing errors. Defaults to empty string.

WordPress Developer Newsletter

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