apply_filters( 'wp_new_user_notification_email', array $wp_new_user_notification_email, WP_User $user, string $blogname )

Filters the contents of the new user notification email sent to the new user.

Description

Parameters

$wp_new_user_notification_email

(array) Used to build wp_mail().

  • 'to'
    (string) The intended recipient - New user email address.
  • 'subject'
    (string) The subject of the email.
  • 'message'
    (string) The body of the email.
  • 'headers'
    (string) The headers of the email.

$user

(WP_User) User object for new user.

$blogname

(string) The site title.

Source

File: bp-core/bp-core-wp-emails.php

Changelog

Changelog
Version Description
BuddyPress 4.9.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.