comments_link_feed

The timeline below displays how wordpress function comments_link_feed has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.1

/**
 * Outputs the link to the comments for the current post in an XML safe way.
 *
 * @since 3.0.0
 */
function comments_link_feed()
{
    /**
     * Filters the comments permalink for the current post.
     *
     * @since 3.6.0
     *
     * @param string $comment_permalink The current comment permalink with
     *                                  '#comments' appended.
     */
    echo esc_url(apply_filters('comments_link_feed', get_comments_link()));
}

WordPress Version: 5.4

/**
 * Outputs the link to the comments for the current post in an xml safe way
 *
 * @since 3.0.0
 */
function comments_link_feed()
{
    /**
     * Filters the comments permalink for the current post.
     *
     * @since 3.6.0
     *
     * @param string $comment_permalink The current comment permalink with
     *                                  '#comments' appended.
     */
    echo esc_url(apply_filters('comments_link_feed', get_comments_link()));
}

WordPress Version: 4.6

/**
 * Outputs the link to the comments for the current post in an xml safe way
 *
 * @since 3.0.0
 * @return none
 */
function comments_link_feed()
{
    /**
     * Filters the comments permalink for the current post.
     *
     * @since 3.6.0
     *
     * @param string $comment_permalink The current comment permalink with
     *                                  '#comments' appended.
     */
    echo esc_url(apply_filters('comments_link_feed', get_comments_link()));
}

WordPress Version: 3.9

/**
 * Outputs the link to the comments for the current post in an xml safe way
 *
 * @since 3.0.0
 * @return none
 */
function comments_link_feed()
{
    /**
     * Filter the comments permalink for the current post.
     *
     * @since 3.6.0
     *
     * @param string $comment_permalink The current comment permalink with
     *                                  '#comments' appended.
     */
    echo esc_url(apply_filters('comments_link_feed', get_comments_link()));
}

WordPress Version: 3.7

/**
 * Outputs the link to the comments for the current post in an xml safe way
 *
 * @since 3.0.0
 * @return none
 */
function comments_link_feed()
{
    echo esc_url(apply_filters('comments_link_feed', get_comments_link()));
}