This hook has been deprecated. BuddyPress 2.5.0 Use the filters in BP_Email. $update_user argument unset and deprecated instead.

apply_filters( 'bp_new_user_email_content', string $value, string $recipient_email, string $old_user_email, bool $deprecated )

Filter the email text sent when a user changes emails.

Description

Parameters

$value

(string) Text of the email.

$recipient_email

(string) New user email that the current user has changed to.

$old_user_email

(string) Existing email address for the current user.

$deprecated

(bool) Removed in 2.5; now a bool (false).

Source

File: bp-core/deprecated/buddypress/2.5.php

Changelog

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