首页 WordPress函数大全 get_author_posts_url()

get_author_posts_url()

2020-05-01 / 3535阅 / 悠然

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

get_author_posts_url( int $author_id, string $author_nicename = '' )

Retrieve the URL to the author page for the user with the ID provided.

描述

参数

$author_id

(int)
(Required)
Author ID.

$author_nicename

(string)
(Optional)
The author's nicename (slug).

Default value: ''

返回

(string) The URL to the author's page.

大家谈论
    我的见解