WPDev.one
Core Function
View Source on Trac ↗

post_comments_feed_link()

post_comments_feed_link( mixed $link_text = '', mixed $post_id = '', mixed $feed = '' )

Displays the comment feed link for a post.

Parameters 1 required

Name / Type Description
$link_text
string

Optional. Descriptive link text. Default 'Comments Feed'.

$post_id
int

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().

Required

Return Value

(void)
No return value description available.

Function Information

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