get_the_author_lastname()

最后更新于:2021-11-27 01:10:14

get_the_author_lastname()

Retrieve the last name of the author of the current post.

响应

(string) The author’s last name.

源文件

文件: gc-includes/deprecated.php

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