WordPress at a glance
filter is not described

get_comment_ID filter-hook . WP 1.5.0

Filters the returned comment ID.

Usage

add_filter( 'get_comment_ID', 'filter_function_name_1655', 10, 2 );
function filter_function_name_1655( $comment_ID, $comment ){
	// filter...

	return $comment_ID;
}
$comment_ID(int)
The current comment ID.
$comment(WP_Comment)
The comment object.

Notes

  • Since 4.1.0 The $comment_ID parameter was added.

Where the hook is called

get_comment_ID()
get_comment_ID
wp-includes/comment-template.php 665
return apply_filters( 'get_comment_ID', $comment->comment_ID, $comment );

Where the hook is used (in WP core)

Does not used.