wpseek.com
WordPress开发者和主题制作者的搜索引擎



the_author_link › WordPress Function

Since2.1.0
已弃用n/a
› the_author_link ( $use_title_attr = true )
参数:
  • (bool) $use_title_attr Optional. Whether to add a title attribute. Default true.
    Required: No
    默认: true
链接:
定义在:
文档:
Change Log:
  • 7.0.0

Displays either author's link or author's name.

If the author has a home page set, echo an HTML link, otherwise just echo the author's name.


源码

function the_author_link( $use_title_attr = true ) {
	echo get_the_author_link( $use_title_attr );
}