get_the_author_lastname

函数
get_the_author_lastname ( No parameters )
返回值
  • (string) The author's last name.
相关
  • get_the_author_meta()
定义位置
相关方法
the_author_lastnameget_the_author_firstnameget_the_author_aimget_the_author_nicknameget_the_author_meta
引入
1.5.0
弃用
2.8.0

get_the_author_lastname: 此函数检索文章作者的姓氏。它不接受任何参数,返回一个包含姓氏的字符串值。

检索当前文章的作者的姓氏。

function get_the_author_lastname() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta('last_name')' );
	return get_the_author_meta('last_name');
}

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-14 10:36:29

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: