apply_filters( ‘feed_content_type’, string $content_type, string $type )

In this article

Filters the content type for a specific feed type.

Parameters

$content_typestring
Content type indicating the type of data that a feed contains.
$typestring
Type of feed. Possible values include 'rss', rss2′, 'atom', and 'rdf'.

Source

return apply_filters( 'feed_content_type', $content_type, $type );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.