post_type_archive_feed_link

过滤钩子


apply_filters( 'post_type_archive_feed_link', $link, $feed )
参数
  • (string)
    $link
    The post type archive feed link.
    Required:
  • (string)
    $feed
    Feed type. Possible values include ‘rss2’, ‘atom’.
    Required:
定义位置
  • wp-includes/link-template.php
    , line 1388
引入
3.1.0
弃用

Filters the post type archive feed link.

return apply_filters( 'post_type_archive_feed_link', $link, $feed );