Uses
Uses | Description |
---|---|
wp-includes/formatting.php: esc_url() | Checks and cleans a URL. |
wp-includes/feed.php: get_comment_guid() | Retrieve the feed GUID for the current comment. |
Display the feed GUID for the current comment.
(int|WP_Comment) (Optional) comment object or ID. Defaults to global comment object.
Default value: null
File: wp-includes/feed.php
function comment_guid( $comment_id = null ) { echo esc_url( get_comment_guid( $comment_id ) ); }
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/comment_guid