WordPress at a glance
filter is not described

wpmu_signup_user_notification_email filter-hook . WP 3.0.0

Filters the content of the notification email for new user sign-up.

Content should be formatted for transmission via wp_mail().


add_filter( 'wpmu_signup_user_notification_email', 'filter_function_name_6659', 10, 5 );
function filter_function_name_6659( $content, $user_login, $user_email, $key, $meta ){
	// filter...

	return $content;
Content of the notification email.
User login name.
User email address.
Activation key created in wpmu_signup_user().
Signup meta data.
Default: empty array

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

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

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

wp-includes/ms-functions.php 1101-1109
	/* translators: New user notification email. %s: Activation URL. */
	__( "To activate your user, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login." ),

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

wp-admin/user-new.php 29
add_filter( 'wpmu_signup_user_notification_email', 'admin_created_user_email' );