Filters the email address of a user being registered.
Parameters
$user_emailstring- The email address of the new user.
Source
$user_email = apply_filters( 'user_registration_email', $user_email );
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
Filters the email address of a user being registered.
$user_emailstring$user_email = apply_filters( 'user_registration_email', $user_email );
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |
You must log in before being able to contribute a note or feedback.
An Example
register_new_user()may be called without form submission, so the use of$_POSTwould present problems in that context.