the_permalink_rss()
Displays the permalink to the post for use in feeds.
Hooks from the function
Returns
null. Nothing (null).
Usage
the_permalink_rss();
Changelog
| Since 2.3.0 | Introduced. |
the_permalink_rss() the permalink rss code WP 7.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() ) );
}