Function Reference/get post comments feed link
Description
Retrieve the permalink for the post comments feed.
Usage
<?php get_post_comments_feed_link( $post_id, $feed ) ?>
Parameters
- $post_id
- (integer) (optional) Post ID.
- Default: ''
- $feed
- (string) (optional) Feed type.
- Default: ''
Return Values
- (string)
-
Examples
Notes
- Uses global: (integer) $id
Change Log
Since: 2.2.0
Source File
get_post_comments_feed_link() is located in wp-includes/link-template.php.
Related