the_permalink_rss()
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() the permalink rss code WP 6.4.3
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() ) ); }