validate_user_form() – Validate user signup name and email

You appear to be a bot. Output may be restricted

Description

Validates user sign-up name and email.

Usage

$array = validate_user_form();

Parameters

Returns

array Contains username, email, and error messages. See wpmu_validate_user_signup() for details.

Source

File name: wordpress/wp-signup.php
Lines:

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

 View on GitHub View on Trac