Filter hook 'get_comment_ID'

in WP Core File wp-includes/comment-template.php at line 735

Description

Filters the returned comment ID.

Occurrences

Filename Line Number
wp-includes/comment-template.php 735

Parameters

Type Name Description
string $comment_id The current comment ID as a numeric string.
WP_Comment $comment The comment object.

PHP Doc

/**
	 * Filters the returned comment ID.
	 *
	 * @since 1.5.0
	 * @since 4.1.0 The `$comment` parameter was added.
	 *
	 * @param string     $comment_id The current comment ID as a numeric string.
	 * @param WP_Comment $comment    The comment object.
	 */