Definition:
function get_comment_guid($comment_id = null) {}
Retrieve the feed GUID for the current comment.
Parameters
- int|object $comment_id: Optional comment object or id. Defaults to global comment object.
Return values
returns:false on failure or guid for comment on success.
Source code
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;
}
1314

February 12, 2011 


No comments yet... Be the first to leave a reply!