On this page
apply_filters( 'feed_content_type', string $content_type, string $type )
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
File: wp-includes/feed.php. View all references
return apply_filters( 'feed_content_type', $content_type, $type );
Related
Used By
| Used By | Description |
|---|---|
| feed_content_type() wp-includes/feed.php | Returns the content type for specified feed type. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/feed_content_type