Filter hook 'feed_content_type'
in WP Core File wp-includes/feed.php at line 783
Description
Filters the content type for a specific feed type.
Occurrences
Filename |
Line Number |
wp-includes/feed.php |
783 |
Parameters
Type |
Name |
Description |
string |
$content_type |
Content type indicating the type of data that a feed contains. |
string |
$type |
Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'. |
PHP Doc
/**
* Filters the content type for a specific feed type.
*
* @since 2.8.0
*
* @param string $content_type Content type indicating the type of data that a feed contains.
* @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
*/