W3cubDocs

/WordPress

get_author_rss_link( bool $display = false, int $author_id = 1 ): string

Print/Return link to author RSS feed.

Description

See also

Parameters

$displaybooloptional

Default:false

$author_idintoptional

Default:1

Return

string

Source

function get_author_rss_link($display = false, $author_id = 1) {
	_deprecated_function( __FUNCTION__, '2.5.0', 'get_author_feed_link()' );

	$link = get_author_feed_link($author_id);
	if ( $display )
		echo $link;
	return $link;
}

Changelog

Version Description
2.5.0 Use get_author_feed_link()
1.2.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_author_rss_link