A WordPress-centric search engine for devs and theme authors



validate_user_form ›

Since3.0.0
Deprecatedn/a
validate_user_form ( No parameters )
Returns:
  • (array) Contains username, email, and error messages.
Defined at:
Codex:
Change Log:
  • MU

Validate user signup name and email



Source

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