WordPress at a glance
function is not described

wp_new_comment_notify_moderator() WP 4.4.0

Send a comment moderation notification to the comment moderator.

Hooks in function
Return

true/false. True on success, false on failure.

Usage

wp_new_comment_notify_moderator( $comment_ID );
$comment_ID(int) (required)
ID of the comment.

Code of wp new comment notify moderator: wp-includes/comment.php VER 5.1.1

<?php
function wp_new_comment_notify_moderator( $comment_ID ) {
	$comment = get_comment( $comment_ID );

	// Only send notifications for pending comments.
	$maybe_notify = ( '0' == $comment->comment_approved );

	/** This filter is documented in wp-includes/comment.php */
	$maybe_notify = apply_filters( 'notify_moderator', $maybe_notify, $comment_ID );

	if ( ! $maybe_notify ) {
		return false;
	}

	return wp_notify_moderator( $comment_ID );
}