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



wpmu_validate_user_signup › WordPress Filter Hooks

SinceMU (3.0.0)
Deprecatedn/a
apply_filters( 'wpmu_validate_user_signup', $result )
Parameters:
  • (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. }
    Required: Yes
Defined at:
Codex:

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.





Source

return apply_filters( 'wpmu_validate_user_signup', $result );