validate_user_form()
Validate user signup name and email
Return
(array) Contains username, email, and error messages. See wpmu_validate_user_signup() for details.
Source
File: wp-signup.php
function validate_user_form() { return wpmu_validate_user_signup( $_POST['user_name'], $_POST['user_email'] ); }
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/validate_user_form