We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbb6e05 commit f276d53Copy full SHA for f276d53
src/wp-includes/comment.php
@@ -2442,6 +2442,7 @@ function wp_new_comment_notify_postauthor( $comment_id ) {
2442
* all notes and for approved comments.
2443
*
2444
* @since 4.4.0
2445
+ * @since 6.9.0 Comment approval status is checked before this filter.
2446
2447
* @param bool $maybe_notify Whether to notify the post author about the new comment.
2448
* @param int $comment_id The ID of the comment for the notification.
0 commit comments