the_feed_link

过滤钩子


apply_filters( 'the_feed_link', $link, $feed )
参数
  • (string)
    $link
    The complete anchor tag for a feed link.
    Required:
  • (string)
    $feed
    The feed type. Possible values include ‘rss2’, ‘atom’,
    or an empty string for the default feed type.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 675
引入
3.0.0
弃用

Filters the feed link anchor tag.

echo apply_filters( 'the_feed_link', $link, $feed );