apply_filters( 'feed_content_type', string $content_type, string $type )

Filters the content type for a specific feed type.


Parameters

$content_type

(string) Content type indicating the type of data that a feed contains.

$type

(string) Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.


Source

File: wp-includes/feed.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.8.0 Introduced.