tag_feed_link filter-hookWP 2.3.0

Filters the post tag feed link.

Usage

add_filter( 'tag_feed_link', 'wp_kama_tag_feed_link_filter', 10, 2 );

/**
 * Function for `tag_feed_link` filter-hook.
 * 
 * @param string $link The tag feed link.
 * @param string $feed Feed type. Possible values include 'rss2', 'atom'.
 *
 * @return string
 */
function wp_kama_tag_feed_link_filter( $link, $feed ){

	// filter...
	return $link;
}
$link(string)
The tag feed link.
$feed(string)
Feed type. Possible values include 'rss2', 'atom'.

Changelog

Since 2.3.0 Introduced.

Where the hook is called

get_term_feed_link()
tag_feed_link
wp-includes/link-template.php 988
$link = apply_filters( 'tag_feed_link', $link, $feed );

Where the hook is used in WordPress

Usage not found.