Skip to content

Commit bbb6e05

Browse files
Update filter doc block
1 parent d4d99d9 commit bbb6e05

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/wp-includes/comment.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2437,8 +2437,9 @@ function wp_new_comment_notify_postauthor( $comment_id ) {
24372437
}
24382438

24392439
/**
2440-
* Filters whether to send the post author new comment notification emails,
2441-
* overriding the site setting.
2440+
* Filters whether to send the post author new comment and note notification emails,
2441+
* overriding the site settings and defaults. By default, notifications are sent for
2442+
* all notes and for approved comments.
24422443
*
24432444
* @since 4.4.0
24442445
*

0 commit comments

Comments
 (0)