WordPress at a glance
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.

Usage

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

	return $notify;
}
$notify(true/false)
Whether to notify the post author of their own comment.
Default: false
$comment_id(int)
The comment ID.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.