the_permalink_rss filter-hook . WP 2.3.0
Filters the permalink to the post for use in feeds.
Usage
add_filter( 'the_permalink_rss', 'filter_function_name_2049' ); function filter_function_name_2049( $post_permalink ){ // filter... return $post_permalink; }
- $post_permalink(string)
- The current post permalink.
Changelog
Since 2.3.0 | Introduced. |
Where the hook is called
the_permalink_rss
wp-includes/feed.php 250
echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) );