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

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


Description Description

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


Parameters Parameters

$emails

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

$comment_id

(int) The comment ID.


Top ↑

Source Source

File: wp-includes/pluggable.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.