bp_email_wpmu_signup_blog_notification_email( string $content, string $domain, string $path, string $title, string $user_login, string $user_email, string $key, array $meta )
Filters the message content of the new blog notification email.
Description
Content should be formatted for transmission via wp_mail().
Parameters
- $content
-
(Required) Content of the notification email.
- $domain
-
(Required) Site domain.
- $path
-
(Required) Site path.
- $title
-
(Required) Site title.
- $user_login
-
(Required) User login name.
- $user_email
-
(Required) User email address.
- $key
-
(Required) Activation key created in wpmu_signup_blog().
- $meta
-
(Required) Signup meta data. By default, contains the requested privacy setting and lang_id.
Source
File: bp-core/bp-core-wp-emails.php
function bp_email_wpmu_signup_blog_notification_email( $content, $domain, $path, $title, $user_login, $user_email, $key, $meta ) { add_filter( 'wp_mail_content_type', 'bp_email_set_content_type' ); //add this to support html in email $content = bp_email_core_wp_get_template( $content, get_user_by( 'email', $user_email ) ); return $content; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.