comment_guid( int|WP_Comment $comment_id = null )
Displays the feed GUID for the current comment.
Parameters
-
$comment_id
int|WP_Comment Optional -
Optional comment object or ID. Defaults to global comment object.
Default:
null
Source
File: wp-includes/feed.php
.
View all references
function comment_guid( $comment_id = null ) {
echo esc_url( get_comment_guid( $comment_id ) );
}
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |