comment_guid( int|WP_Comment $comment_id = null )

Display the feed GUID for the current comment.


Parameters

$comment_id

(int|WP_Comment) (Optional) comment object or id. Defaults to global comment object.

Default value: null


Source

File: wp-includes/feed.php

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


Changelog

Changelog
Version Description
WP-2.5.0 Introduced.