the_author_lastname

函数
the_author_lastname ( No parameters )
相关
  • the_author_meta()
定义位置
相关方法
get_the_author_lastnamethe_author_firstnameget_the_author_firstnamethe_author_nicknamethe_author_aim
引入
0.71
弃用
2.8.0

the_author_lastname: 该函数显示当前文章的作者或指定用户的姓氏。

显示当前文章的作者的姓氏。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
function the_author_lastname() {
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('last_name')' );
the_author_meta('last_name');
}
function the_author_lastname() { _deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('last_name')' ); the_author_meta('last_name'); }
function the_author_lastname() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('last_name')' );
	the_author_meta('last_name');
}

常见问题

FAQs
查看更多 >