author_feed_link filter-hookWP 1.5.1

Filters the feed link for a given author.

Usage

add_filter( 'author_feed_link', 'wp_kama_author_feed_link_filter', 10, 2 );

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

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

Changelog

Since 1.5.1 Introduced.

Where the hook is called

get_author_feed_link()
author_feed_link
wp-includes/link-template.php 894
$link = apply_filters( 'author_feed_link', $link, $feed );

Where the hook is used in WordPress

Usage not found.