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

Whether to notify the post author about the new comment.

$comment_ID

The ID of the comment for the notification.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.4.0 Introduced.