apply_filters( 'the_permalink_rss', string $post_permalink )
Filters the permalink to the post for use in feeds.
Parameters
-
$post_permalink
string -
The current post permalink.
Source
File: wp-includes/feed.php
.
View all references
echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) );
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |