W3cubDocs

/WordPress

apply_filters( 'the_content_feed', string $content, string $feed_type )

Filters the post content for use in feeds.

Parameters

$content

(string) The current post content.

$feed_type

(string) Type of feed. Possible values include 'rss2', 'atom'. Default 'rss2'.

Source

File: wp-includes/feed.php

View on Trac

Changelog

Version Description
2.9.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_content_feed