apply_filters( ‘default_feed’, string $feed_type )

In this article

Filters the default feed type.

Parameters

$feed_typestring
Type of default feed. Possible values include 'rss2', 'atom'.
Default 'rss2'.

Source

$default_feed = apply_filters( 'default_feed', 'rss2' );

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

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