the_feed_link filter-hookWP 3.0.0

Filters the feed link anchor tag.

Usage

add_filter( 'the_feed_link', 'wp_kama_the_feed_link_filter', 10, 2 );

/**
 * Function for `the_feed_link` filter-hook.
 * 
 * @param string $link The complete anchor tag for a feed link.
 * @param string $feed The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.
 *
 * @return string
 */
function wp_kama_the_feed_link_filter( $link, $feed ){

	// filter...
	return $link;
}
$link(string)
The complete anchor tag for a feed link.
$feed(string)
The feed type. Possible values include 'rss2', 'atom', or an empty string for the default feed type.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

the_feed_link()
the_feed_link
wp-includes/link-template.php 679
echo apply_filters( 'the_feed_link', $link, $feed );

Where the hook is used in WordPress

Usage not found.