Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Change Message Email Subject

@shanebp

Moderator

There is no such filter hook as messages_notification_new_message.

There is an email_subject filter hook:
$email_subject = apply_filters( 'messages_notification_new_message_subject', $email_subject, $sender_name, $ud );
But as you can see, the variables passed do not include the message subject.

So, I don’t see a way to do what you want.

There is an enhancement ticket in the works
https://buddypress.trac.wordpress.org/ticket/6460
It might expose the fields you need.

You aren’t alone in asking for a different filtering system:
https://buddypress.trac.wordpress.org/ticket/6460

Skip to toolbar