the_permalink_rss()WP 2.3.0

Displays the permalink to the post for use in feeds.

Hooks from the function

Return

null. Nothing (null).

Usage

the_permalink_rss();

Changelog

Since 2.3.0 Introduced.

the_permalink_rss() code WP 6.5.4

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() ) );
}