the_permalink_rss

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

WordPress Version: 6.1

/**
 * Displays the permalink to the post for use in feeds.
 *
 * @since 2.3.0
 */
function the_permalink_rss()
{
    /**
     * Filters the permalink to the post for use in feeds.
     *
     * @since 2.3.0
     *
     * @param string $post_permalink The current post permalink.
     */
    echo esc_url(apply_filters('the_permalink_rss', get_permalink()));
}

WordPress Version: 4.6

/**
 * Display the permalink to the post for use in feeds.
 *
 * @since 2.3.0
 */
function the_permalink_rss()
{
    /**
     * Filters the permalink to the post for use in feeds.
     *
     * @since 2.3.0
     *
     * @param string $post_permalink The current post permalink.
     */
    echo esc_url(apply_filters('the_permalink_rss', get_permalink()));
}

WordPress Version: 3.9

/**
 * Display the permalink to the post for use in feeds.
 *
 * @since 2.3.0
 */
function the_permalink_rss()
{
    /**
     * Filter the permalink to the post for use in feeds.
     *
     * @since 2.3.0
     *
     * @param string $post_permalink The current post permalink.
     */
    echo esc_url(apply_filters('the_permalink_rss', get_permalink()));
}

WordPress Version: 3.7

/**
 * Display the permalink to the post for use in feeds.
 *
 * @package WordPress
 * @subpackage Feed
 * @since 2.3.0
 * @uses apply_filters() Call 'the_permalink_rss' on the post permalink
 */
function the_permalink_rss()
{
    echo esc_url(apply_filters('the_permalink_rss', get_permalink()));
}