wpmu_signup_blog_notification_email

Filters the message content of the new blog notification email.

Description

apply_filters( 'wpmu_signup_blog_notification_email', (string) $var, (string) $domain, (string) $path, (string) $title, (string) $user_login, (string) $user_email, (string) $key, (array) $meta ); 

Content should be formatted for transmission via wp_mail().

Parameters (8)

0. $var (string) => __( "To activate your blog, please click the following link:\n\n%s\n\nAfter you activate, you will receive *another email* with your login.\n\nAfter you activate, you can visit your site here:\n\n%s" )
Content of the notification email.
1. $domain (string)
Site domain.
2. $path (string)
Site path.
3. $title (string)
Site title.
4. $user_login (string)
User login name.
5. $user_email (string)
User email address.
6. $key (string)
Activation key created in wpmu_signup_blog().
7. $meta (array)
By default, contains the requested privacy setting and lang_id.

Usage

To run the hook, copy the example below.
  1. $var = apply_filters( 'wpmu_signup_blog_notification_email', $var, $domain, $path, $title, $user_login, $user_email, $key, $meta ); 
  2.  
  3. if ( !empty( $var ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the wpmu_signup_blog_notification_email callback 
  2. function filter_wpmu_signup_blog_notification_email( $var, $domain, $path, $title, $user_login, $user_email, $key, $meta ) { 
  3. // make filter magic happen here... 
  4. return $var
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'wpmu_signup_blog_notification_email', 'filter_wpmu_signup_blog_notification_email', 10, 8 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'wpmu_signup_blog_notification_email', 'filter_wpmu_signup_blog_notification_email', 10, 8 ); 

Defined (1)

The filter is defined in the following location(s).

/wp-includes/ms-functions.php  
  1. apply_filters( 'wpmu_signup_blog_notification_email',