comment_guid( int|WP_Comment $comment_id = null )

In this article

Displays the feed GUID for the current comment.

Parameters

$comment_idint|WP_Commentoptional
Optional comment object or ID. Defaults to global comment object.

Default:null

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.