the_permalink_rss filter-hookWP 2.3.0

Filters the permalink to the post for use in feeds.

Usage

add_filter( 'the_permalink_rss', 'wp_kama_the_permalink_rss_filter' );

/**
 * Function for `the_permalink_rss` filter-hook.
 * 
 * @param string $post_permalink The current post permalink.
 *
 * @return string
 */
function wp_kama_the_permalink_rss_filter( $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()
the_permalink_rss
wp-includes/feed.php 250
echo esc_url( apply_filters( 'the_permalink_rss', get_permalink() ) );

Where the hook is used in WordPress

Usage not found.