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

Usage

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

	return $maybe_notify;
}
$maybe_notify(true/false)
Whether to notify the post author about the new comment.
$comment_ID(int)
The ID of the comment for the notification.

Список изменений

С версии 4.4.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WordPress

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