wpseek.com
A WordPress-centric search engine for devs and theme authors



validate_user_form › WordPress Function

Since
Deprecatedn/a
validate_user_form ( No parameters )
Returns:
  • (array) Contains username, email, and error messages. See wpmu_validate_user_signup() for details.
Defined at:
Codex:
Change Log:
  • MU

Validates user sign-up name and email.



Source

function validate_user_form() {
	return wpmu_validate_user_signup( $_POST['user_name'], $_POST['user_email'] );
}