WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

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

See also index of Function Reference and index of Template Tags.