Core Function
View Source on Trac ↗ signup_user()
signup_user( mixed $user_name = '', mixed $user_email = '', mixed $errors = '' ) Shows a form for a visitor to sign up for a new user account.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $user_name string | The username. |
| $user_email string | The user's email. |
| (WP_Error | | string) $errors A WP_Error object containing existing errors. Defaults to empty string. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
MU (3.0.0)
Source File
wp-signup.php
Advertisement