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. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/default_feed