the_content_feed

过滤钩子


apply_filters( 'the_content_feed', $content, $feed_type )
参数
  • (string)
    $content
    The current post content.
    Required:
  • (string)
    $feed_type
    Type of feed. Possible values include ‘rss2’, ‘atom’.
    Default ‘rss2’.
    Required:
定义位置
  • wp-includes/feed.php
    , line 206
引入
2.9.0
弃用

Filters the post content for use in feeds.

return apply_filters( 'the_content_feed', $content, $feed_type );