the_author_posts_link

函数


the_author_posts_link ( $deprecated = '' )
参数
  • (string)
    $deprecated
    Unused.
    Required:
    Default: (empty)
定义位置
  • wp-includes/author-template.php
    , line 344
引入
1.2.0
弃用

显示一个HTML链接到当前文章作者的页面。

function the_author_posts_link( $deprecated = '' ) {
	if ( ! empty( $deprecated ) ) {
		_deprecated_argument( __FUNCTION__, '2.1.0' );
	}
	echo get_the_author_posts_link();
}