comment_notification_recipients

Advertisement

Summery Summery

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

Syntax Syntax

apply_filters( 'comment_notification_recipients', string[] $emails, int $comment_id )

Description Description

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

Parameters Parameters

$emails

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

$comment_id

(int) The comment ID.

Source Source

File: wp-includes/pluggable.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.7.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.