WordPress获取作者函数:get_the_author

WordPress函数get_the_author用于获取作者的名称,返回名称为个人资料中“公开显示为”选项设置。

get_the_author( string $deprecated = '' )

Table of Contents

函数参数

$deprecated

字符串,默认为空

自2.1.0版本起,不再支持该参数。

扩展阅读

get_the_author()函数位于:wp-includes/author-template.php

相关函数:

原创文章,作者:,如若转载,请注明出处:https://ce.771633.xyz/1916.html

Like (0)
Previous 2025年3月8日
Next 2025年3月8日

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注