wpmu_signup_user_notification filter-hookWP 3.0.0

Filters whether to bypass the email notification for new user sign-up.


add_filter( 'wpmu_signup_user_notification', 'wp_kama_wpmu_signup_user_notification_filter', 10, 4 );

 * Function for `wpmu_signup_user_notification` filter-hook.
 * @param string $user_login User login name.
 * @param string $user_email User email address.
 * @param string $key        Activation key created in wpmu_signup_user().
 * @param array  $meta       Signup meta data.
 * @return string
function wp_kama_wpmu_signup_user_notification_filter( $user_login, $user_email, $key, $meta ){

	// filter...
	return $user_login;
User login name.
User email address.
Activation key created in wpmu_signup_user().
Signup meta data.
Default: empty array


Since 3.0.0 Introduced.

Where the hook is called

wp-includes/ms-functions.php 1071
if ( ! apply_filters( 'wpmu_signup_user_notification', $user_login, $user_email, $key, $meta ) ) {

Where the hook is used in WordPress

wp-admin/user-new.php 218
add_filter( 'wpmu_signup_user_notification', '__return_false' ); // Disable confirmation email.