wordpress / latest / hooks / comment_moderation_recipients.html

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

Filters the list of recipients for comment moderation emails.

Parameters

$emails string[]
List of email addresses to notify for comment moderation.
$comment_id int
Comment ID.

Source

File: wp-includes/pluggable.php. View all references

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

Used By

Used By Description

Changelog

Version Description
3.7.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_moderation_recipients