WordPress at a glance
function is not described

get_comment_guid() WP 2.5.0

Retrieve the feed GUID for the current comment.

No Hooks.


false/String. false on failure or guid for comment on success.


get_comment_guid( $comment_id );
Optional comment object or id.
Default: global comment object

Code of get comment guid: wp-includes/feed.php VER 5.0.3

function get_comment_guid($comment_id = null) {
	$comment = get_comment($comment_id);

	if ( !is_object($comment) )
		return false;

	return get_the_guid($comment->comment_post_ID) . '#comment-' . $comment->comment_ID;