the_permalink_rss

过滤钩子


apply_filters( 'the_permalink_rss', get_permalink()
参数
  • (string)
    $post_permalink
    The current post permalink.
    Required:
定义位置
  • wp-includes/feed.php
    , line 250
引入
2.3.0
弃用

Filters the permalink to the post for use in feeds.

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