WordPress at a glance
filter is not described

wpmu_validate_user_signup filter-hook . WP MU

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.

Usage

add_filter( 'wpmu_validate_user_signup', 'filter_function_name_3998' );
function filter_function_name_3998( $result ){
	// filter...

	return $result;
}
$result(array)

The array of user name, email and the error messages.

  • $user_name (string)
    Sanitized and unique username.

  • $orig_username (string)
    Original username.

  • $user_email (string)
    User email address.

  • $errors (WP_Error)
    WP_Error object containing any errors found.

Notes

  • Since MU (3.0.0)

Where the hook is called

wpmu_validate_user_signup()
wpmu_validate_user_signup
wp-includes/ms-functions.php 545
return apply_filters( 'wpmu_validate_user_signup', $result );

Where the hook is used (in WP core)

wp-includes/ms-default-filters.php 24
add_filter( 'wpmu_validate_user_signup', 'signup_nonce_check' );