comments_link_feed

Outputs the link to the comments for the current post in an xml safe way.

Description

comments_link_feed(); 

Usage

  1. if ( !function_exists( 'comments_link_feed' ) ) { 
  2. require_once ABSPATH . WPINC . '/feed.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = comments_link_feed(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/feed.php  
  1. function comments_link_feed() { 
  2. /** 
  3. * Filters the comments permalink for the current post. 
  4. * @since 3.6.0 
  5. * @param string $comment_permalink The current comment permalink with 
  6. * '#comments' appended. 
  7. */