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:

Description

Retrieves the permalink for the post comments feed.

Related Functions

post_comments_feed_link, get_search_comments_feed_link, get_previous_comments_link, get_next_comments_link, get_comments_link

Top Google Results

User discussions

wpseek mobile