首页 WordPress函数大全 get_the_author_link()

get_the_author_link()

2020-05-01 / 3807阅 / 悠然

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

get_the_author_link()

Retrieve either author’s link or author’s name.

描述

If the author has a home page set, return an HTML link, otherwise just return the author’s name.

Return Return

(string|null) An HTML link if the author's url exist in user meta, else the result of get_the_author().

大家谈论
    我的见解