user_registration_email filter-hook . WP 2.1.0
Filters the email address of a user being registered.
Usage
add_filter( 'user_registration_email', 'filter_function_name_9001' ); function filter_function_name_9001( $user_email ){ // filter... return $user_email; }
- $user_email(string)
- The email address of the new user.
Changelog
Since 2.1.0 | Introduced. |
Where the hook is called
wp-includes/user.php 2710
$user_email = apply_filters( 'user_registration_email', $user_email );