首页 WordPress函数大全 get_author_name()

get_author_name()

2020-05-01 / 2937阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

Warning: This function has been deprecated. Use get_the_author_meta() instead.

get_author_name( int $auth_id = false )

Retrieve the specified author’s preferred display name.

描述

See also See also

  • get_the_author_meta()

Top ↑

参数

$auth_id

(int)
(Optional)
The ID of the author.

Default value: false

返回

(string) The author's display name.

大家谈论
    我的见解