Filters the email address of a user being registered.
Parameters
$user_email
string- 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_email
string$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$_POST
would present problems in that context.