Quick Tip: Adding New Feeds to WordPress

Adding a new type of feed to WordPress is actually fairly simple. The main function you need to use is `add_feed()`. The `add_feed()` function in itself is also extremely simple. It accepts two arguments: the “name” of the feed (the slug that should be used in the URL) and the callback function that outputs the feed.