user_registration_email хук-фильтрWP 2.1.0

Filters the email address of a user being registered.

Использование

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(строка)
The email address of the new user.

Список изменений

С версии 2.1.0 Введена.

Где вызывается хук

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

Где используется хук в WordPress

Использование не найдено.