bp_email_newuser_notify_siteadmin( string $msg, WP_User $user )
Filters the message body of the new user activation email sent to the network administrator.
Description
Parameters
- $msg
-
(Required) Email body.
- $user
-
(Required) WP_User instance of the new user.
Source
File: bp-core/bp-core-wp-emails.php
function bp_email_newuser_notify_siteadmin( $msg, $user ) { add_filter( 'wp_mail_content_type', 'bp_email_set_content_type' ); //add this to support html in email $msg = bp_email_core_wp_get_template( $msg, $user ); return $msg; }
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.