WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get feed link

Contents

Description

Retrieve the permalink for a feed by feed type.

Usage

<?php get_feed_link$feed ); ?>

Parameters

$feed
(string) (optional) Feed type. Defaults to the default feed if empty.
Default: Empty string

Return Values

(string) 
The link for the feed.

Examples

Notes

Change Log

Source file

get_feed_link() is located in wp-includes/link-template.php.

Related

This page is marked as incomplete. You can help Codex by expanding it.