WPDev.one
Core Function
View Source on Trac ↗

get_comment_guid()

get_comment_guid( mixed $comment_id = null )

Retrieves the feed GUID for the current comment.

Parameters 1 required

Name / Type Description
(int

| WP_Comment) $comment_id Optional comment object or ID. Defaults to global comment object.

Required

Return Value

((string)
| false) GUID for comment on success, false on failure.

Function Information

Since Version
2.5.0
Source File
wp-includes/feed.php
Advertisement