the_permalink_rss() WordPress Function
The the_permalink_rss() function is used to display the permalink for a post in an RSS feed. This function can be used within the WordPress loop.
the_permalink_rss() #
Display the permalink to the post for use in feeds.
Source
File: wp-includes/feed.php
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() ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |