user_registration_email filter-hookWP 2.1.0

Filters the email address of a user being registered.

Usage

add_filter( 'user_registration_email', 'wp_kama_user_registration_email_filter' );

/**
 * Function for `user_registration_email` filter-hook.
 * 
 * @param string $user_email The email address of the new user.
 *
 * @return string
 */
function wp_kama_user_registration_email_filter( $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

register_new_user()
user_registration_email
wp-includes/user.php 3347
$user_email = apply_filters( 'user_registration_email', $user_email );

Where the hook is used in WordPress

Usage not found.