Filters the list of email addresses to receive a comment notification.
By default, only post authors are notified of comments. This filter allows others to be added.
$emailsstring[]
$comment_idstring
$emails = apply_filters( 'comment_notification_recipients', $emails, $comment->comment_ID );
| Version | Description |
|---|---|
| 3.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_notification_recipients