On this page
get_author_rss_link( bool $display = false, int $author_id = 1 ): string
This function has been deprecated. Use get_author_feed_link() instead.
Print/Return link to author RSS feed.
Description
See also
Parameters
$displaybool Optional-
Default:
false $author_idint Optional-
Default:
1
Return
string
Source
File: wp-includes/deprecated.php. View all references
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;
}
Related
Uses
| Uses | Description |
|---|---|
| get_author_feed_link() wp-includes/link-template.php | Retrieves the feed link for a given author. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Use get_author_feed_link() |
| 1.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/get_author_rss_link