apply_filters( 'comment_notification_notify_author', bool $notify, int $comment_id )
Filters whether to notify comment authors of their comments on their own posts.
Description
By default, comment authors aren’t notified of their comments on their own posts. This filter allows you to override that.
Parameters
- $notify
-
(bool) Whether to notify the post author of their own comment. Default false.
- $comment_id
-
(int) The comment ID.
Source
Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_notification_notify_author