Uses
Uses | Description |
---|---|
wp-includes/ms-functions.php: wpmu_validate_user_signup() | Sanitize and validate data required for a user sign-up. |
Validate user signup name and email
(array) Contains username, email, and error messages.
File: wp-signup.php
function validate_user_form() { return wpmu_validate_user_signup( $_POST['user_name'], $_POST['user_email'] ); }
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/validate_user_form