apply_filters( ‘comment_moderation_recipients’, string[] $emails, int $comment_id )

In this article

Filters the list of recipients for comment moderation emails.

Parameters

$emailsstring[]
List of email addresses to notify for comment moderation.
$comment_idint
Comment ID.

Source

$emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

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