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

apply_filters( 'messages_notification_new_message_message', string $value, string $sender_name, string $usersubjec, string $content, string $message_link, bool $deprecated )

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

Description

Parameters

$value

(string) Email notification message text.

$sender_name

(string) Name of the person who sent the message.

$usersubjec

(string) Email notification subject text.

$content

(string) Content of the message.

$message_link

(string) URL permalink for the message.

$deprecated

(bool) 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.