函数原型
get_author_rss_link( bool $display = false, int $author_id = 1 ): string
函数描述
Print/Return link to author RSS feed.
是否弃用
Warning: This function has been deprecated. Use get_author_feed_link() instead.
函数参数
-
$display
bool
Optional Default:
false-
$author_id
int
Optional Default:
1
函数返回值
string
函数位置
File: wp-includes/deprecated.php.
函数源码
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;
}
源码链接
变更日志
| Version | Description |
|---|---|
| 2.5.0 | Use get_author_feed_link() |
| 1.2.0 | Introduced. |

