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

apply_filters( 'messages_notification_new_message_to', string $value, bool $deprecated )

Filters the user email that the message notification will be sent to.

Description

Parameters

$value

User email the message notification is being sent to.

$deprecated

Removed in 2.5; now a bool (false).

Source

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

Changelog

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