显示当前帖子的作者的名字。
原型
the_author_firstname()
源文件
路径:wp-includes/deprecated.php
<?php
...
function the_author_firstname() {
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta('first_name')' );
the_author_meta('first_name');
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/the_author_firstname/