get_author_rss_link

函数


get_author_rss_link ( $display = false, $author_id = 1 )
参数
  • (bool)
    $display
    Required:
    Default: false
  • (int)
    $author_id
    Required:
    Default: 1
返回值
  • (string)
相关
  • get_author_feed_link()
定义位置
  • wp-includes/deprecated.php
    , line 1177
引入
1.2.0
弃用
2.5.0

打印/返回链接到作者的RSS feed。

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;
}