WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about comment_notification_recipients

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/pluggable.php apply_filters 1650 /**
* 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.
*
* @since 3.7.0
*
* @param string[] $emails An array of email addresses to receive a comment notification.
* @param string $comment_id The comment ID as a numeric string.
*/

Hook Parameters

Parameter Type Name Description
string[] $emails An array of email addresses to receive a comment notification.
string $comment_id The comment ID as a numeric string.