get_the_author_url

函数


get_the_author_url ( No parameters )
返回值
  • (string) The URL to the author’s page.
相关
  • get_the_author_meta()
定义位置
  • wp-includes/deprecated.php
    , line 1606
引入
1.5.0
弃用
2.8.0

检索当前文章的作者的主页的URL。

function get_the_author_url() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta('url')' );
	return get_the_author_meta('url');
}