WordPress at Your Fingertips
filter is not described

notify_post_author filter-hook . WP 4.4.0

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


add_filter( 'notify_post_author', 'filter_function_name_7300', 10, 2 );
function filter_function_name_7300( $maybe_notify, $comment_ID ){
	// filter...

	return $maybe_notify;
Whether to notify the post author about the new comment.
The ID of the comment for the notification.

Where the hook is called

wp-includes/comment.php 2340
$maybe_notify = apply_filters( 'notify_post_author', $maybe_notify, $comment_ID );

Where in WP core the hook is used WordPress

Usage not found.