comment_guid()WP 2.5.0

Displays the feed GUID for the current comment.

No Hooks.

Return

null. Nothing (null).

Usage

comment_guid( $comment_id );
$comment_id(int|WP_Comment)
Optional comment object or ID.
Default: global comment object

Changelog

Since 2.5.0 Introduced.

comment_guid() code WP 6.5.2

function comment_guid( $comment_id = null ) {
	echo esc_url( get_comment_guid( $comment_id ) );
}