get_post_comments_feed_link
get_post_comments_feed_link ( $post_id = 0, $feed = '' )
Parameters:- (int) post_id Optional. Post ID. Default is the ID of the global `$post`.
- (string) feed Optional. Feed type. Possible values include 'rss2', 'atom'. Default is the value of get_default_feed().
Returns:- (string) The permalink for the comments feed for the given post on success, empty string on failure.
Defined at: - Introduced in WordPress: 2.2.0
- Deprecated in WordPress: —
Description
Retrieves the permalink for the post comments feed.