default_feed WordPress Filter Hook
The default_feed WordPress hook is used to set the default feed for a WordPress site. This hook is used by the default_feed_modify() function.
apply_filters( 'default_feed', string $feed_type ) #
Filters the default feed type.
Parameters
- $feed_type
(string)Type of default feed. Possible values include 'rss2', 'atom'. Default 'rss2'.
Source
File: wp-includes/feed.php
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |