apply_filters( ‘the_permalink_rss’, string $post_permalink )

In this article

Filters the permalink to the post for use in feeds.

Parameters

$post_permalinkstring
The current post permalink.

Source

echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) );

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.