Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | apply_filters | 2338 | /** * Sends a comment moderation notification to the comment moderator. * * @since 4.4.0 * * @param int $comment_ID ID of the comment. * @return bool True on success, false on failure. */ |
wp-includes/pluggable.php | apply_filters | 1867 | /** * Filters whether to send the site moderator email notifications, overriding the site setting. * * @since 4.4.0 * * @param bool $maybe_notify Whether to notify blog moderator. * @param int $comment_ID The id of the comment for the notification. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
bool | $maybe_notify | Whether to notify blog moderator. |
int | $comment_ID | The id of the comment for the notification. |