Filter hook 'wpmu_validate_user_signup'

in WP Core File wp-includes/ms-functions.php at line 586

Description

Filters the validated user registration details. This does not allow you to override the username or email of the user during registration. The values are solely used for validation and error handling. }

Occurrences

Filename Line Number
wp-includes/ms-functions.php 586

Parameters

Type Name Description
array $result { The array of user name, email, and the error messages.

PHP Doc

/**
	 * Filters the validated user registration details.
	 *
	 * This does not allow you to override the username or email of the user during
	 * registration. The values are solely used for validation and error handling.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param array $result {
	 *     The array of user name, email, and the error messages.
	 *
	 *     @type string   $user_name     Sanitized and unique username.
	 *     @type string   $orig_username Original username.
	 *     @type string   $user_email    User email address.
	 *     @type WP_Error $errors        WP_Error object containing any errors found.
	 * }
	 */