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
-
An array of email addresses to receive a comment notification.
- $comment_id
-
The comment ID.
Source
Changelog
Version | Description |
---|---|
WP-3.7.0 | Introduced. |