the_permalink_rss

函数


the_permalink_rss ( No parameters )
定义位置
  • wp-includes/feed.php
    , line 242
引入
2.3.0
弃用

Displays the permalink to the post for use in feeds.

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() ) );
}