WPDev.one
Core Function
View Source on Trac ↗

wpmu_validate_user_signup()

wpmu_validate_user_signup( mixed $user_name, mixed $user_email )

Sanitizes and validates data required for a user sign-up.

Parameters 2 required

Name / Type Description
$user_name
string

The login name provided by the user.

Required
$user_email
string

The email provided by the user.

Required

Return Value

(array)
array { The array of user name, email, and the error messages.

Function Information

Since Version
MU (3.0.0)
Source File
wp-includes/ms-functions.php
Advertisement