WordPress at a glance
filter is not described

comment_moderation_recipients filter-hook . WP 3.7.0

Filters the list of recipients for comment moderation emails.

Usage

add_filter( 'comment_moderation_recipients', 'filter_function_name_3415', 10, 2 );
function filter_function_name_3415( $emails, $comment_id ){
	// filter...

	return $emails;
}
$emails(string[])
List of email addresses to notify for comment moderation.
$comment_id(int)
Comment ID.

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

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

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

wp_notify_moderator()
comment_moderation_recipients
wp-includes/pluggable.php 1859
$emails = apply_filters( 'comment_moderation_recipients', $emails, $comment_id );

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

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