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.


add_filter( 'notify_post_author', 'filter_function_name_4653', 10, 2 );
function filter_function_name_4653( $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.

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

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

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

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

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

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