WordPress at Your Fingertips
filter is not described

comment_notification_notify_author filter-hook . WP 3.8.0

Filters whether to notify comment authors of their comments on their own posts.

By default, comment authors aren't notified of their comments on their own posts. This filter allows you to override that.


add_filter( 'comment_notification_notify_author', 'filter_function_name_7514', 10, 2 );
function filter_function_name_7514( $notify, $comment_id ){
	// filter...

	return $notify;
Whether to notify the post author of their own comment.
Default: false
The comment ID.


Since 3.8.0 Introduced.

Where the hook is called

wp-includes/pluggable.php 1597
$notify_author = apply_filters( 'comment_notification_notify_author', false, $comment->comment_ID );

Where in WP core the hook is used WordPress

Usage not found.