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
檢視更多 >