A WordPress-centric search engine for devs and theme authors



comment_guid ›

Since2.5.0
Deprecatedn/a
comment_guid ( $comment_id = null )
Parameters:
  • (int|WP_Comment) $comment_id Optional comment object or id. Defaults to global comment object.
    Required: No
    Default: null
Defined at:
Codex:

Display the feed GUID for the current comment.



Source

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