apply_filters( 'notify_post_author', bool $maybe_notify, int $comment_ID )

Filters whether to send the post author new comment notification emails, overriding the site setting.

Parameters

$maybe_notify

(bool) Whether to notify the post author about the new comment.

$comment_ID

(int) The ID of the comment for the notification.

Source

File: wp-includes/comment.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

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