wpmu_signup_blog_notification_email filter-hook . WP MU
Filters the message content of the new blog notification email.
Content should be formatted for transmission via wp_mail().
Usage
add_filter( 'wpmu_signup_blog_notification_email', 'filter_function_name_2930', 10, 8 ); function filter_function_name_2930( $content, $domain, $path, $title, $user_login, $user_email, $key, $meta ){ // filter... return $content; }
- $content(string)
- Content of the notification email.
- $domain(string)
- Site domain.
- $path(string)
- Site path.
- $title(string)
- Site title.
- $user_login(string)
- User login name.
- $user_email(string)
- User email address.
- $key(string)
- Activation key created in wpmu_signup_blog().
- $meta(array)
- Signup meta data. By default, contains the requested privacy setting and lang_id.
Notes
- Since MU (3.0.0)
Where the hook is called
wpmu_signup_blog_notification_email
wp-includes/ms-functions.php 891-894
apply_filters( 'wpmu_signup_blog_notification_email', __( "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" ), $domain, $path, $title, $user_login, $user_email, $key, $meta ),