wphooks.info - the_content_feed

the_content_feed

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/feed.php:
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
	$content = str_replace( ']]>', ']]>', $content );
	/**
	 * Filters the post content for use in feeds.
	 *
	 * @since 2.9.0
	 *
	 * @param string $content   The current post content.
	 * @param string $feed_type Type of feed. Possible values include 'rss2', 'atom'.
	 *                          Default 'rss2'.
	 */
	return apply_filters( 'the_content_feed', $content, $feed_type );
}

/**
 * Display the post content for feeds.
 *
 * @since 2.9.0
 *
 * @param string $feed_type The type of feed. rss2 | atom | rss | rdf
 */