taxonomy_feed_link filter-hookWP 3.0.0

Filters the feed link for a taxonomy other than 'category' or 'post_tag'.

Usage

add_filter( 'taxonomy_feed_link', 'wp_kama_taxonomy_feed_link_filter', 10, 3 );

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

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

Changelog

Since 3.0.0 Introduced.

Where the hook is called

get_term_feed_link()
taxonomy_feed_link
wp-includes/link-template.php 999
$link = apply_filters( 'taxonomy_feed_link', $link, $feed, $taxonomy );

Where the hook is used in WordPress

Usage not found.