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



get_the_author_firstname ›

Since1.5.0
已弃用2.8.0
get_the_author_firstname ( 没有参数 )
查看:
返回:
  • (string) The author's first name.
定义在:
文档:

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



源码

function get_the_author_firstname() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'first_name\')' );
	return get_the_author_meta('first_name');
}