apply_filters( 'comment_notification_recipients', array $emails, int $comment_id )

Filters the list of email addresses to receive a comment notification.

Description

By default, only post authors are notified of comments. This filter allows others to be added.

Parameters

$emails

(array) An array of email addresses to receive a comment notification.

$comment_id

(int) The comment ID.

Source

File: bp-core/bp-core-wp-emails.php

Changelog

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