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

User IDs of recipients.

$email_subject

Deprecated in 2.5; now an empty string.

$email_content

Deprecated in 2.5; now an empty string.

$args

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.