feed_content_type

Advertisement

Summery Summery

Filters the content type for a specific feed type.

Syntax Syntax

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

Parameters 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 Source

File: wp-includes/feed.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.