This hook has been deprecated. Use the filters in BP_Email. $email_subject and $email_content arguments unset and deprecated instead.

do_action( 'bp_messages_sent_notification_email', array $recipients, string $email_subject, string $email_content, array $args )

Fires after the sending of a new message email notification.

Description

Parameters

$recipients

(array) User IDs of recipients.

$email_subject

(string) Deprecated in 2.5; now an empty string.

$email_content

(string) Deprecated in 2.5; now an empty string.

$args

(array) Array of originally provided arguments.

Source

File: bp-messages/bp-messages-functions.php

Changelog

Changelog
Version Description
2.5.0 Use the filters in BP_Email. $email_subject and $email_content arguments unset and deprecated.
BuddyPress 1.5.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.